Tornado 6.5 Documentationbalancer such as HAProxy or nginx is usually needed to present a single address to outside visitors. Running behind a load balancer When running behind a load balancer like nginx, it is recommended to pass traffic to the balancer’s IP address. This is a barebones nginx config file that is structurally similar to the one we use at FriendFeed. It assumes nginx and the Tornado servers are running on the same machine four Tornado servers are running on ports 8000 - 8003: user nginx; worker_processes 1; error_log /var/log/nginx/error.log; pid /var/run/nginx.pid; events { worker_connections 1024; use epoll; } http0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 6.5 Documentationsuch as HAProxy or nginx is usually needed to present a single address to outside visitors. Running behind a load balancer When running behind a load balancer like nginx [http://nginx.net/], it is recommended traffic to the balancer’s IP address. This is a barebones nginx config file that is structurally similar to the one we use at FriendFeed. It assumes nginx and the Tornado servers are running on the same machine four Tornado servers are running on ports 8000 - 8003: user nginx; worker_processes 1; error_log /var/log/nginx/error.log; pid /var/run/nginx.pid; events { worker_connections 1024; use epoll;0 码力 | 437 页 | 405.14 KB | 3 月前3
共 2 条
- 1
相关搜索词













