centos 6.5 nginx 1.4.4 /etc/nginx/conf.d 下创建tornado.conf upstream tornado { server 127.0.0.1:8887; server 127.0.0.1:8888; server 127.0.0.1:8889; } server { listen 8090; location / { proxy_pass_header Server; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Scheme $scheme; proxy_pass http://tornado; } }
# service nginx restart
输入127.0.0.1:8090即可看到效果