标签:
nginx 反向代理
vim nginx.conf http { ..... upstream "tomcatweb" { server 172.30.13.199:8080; server 172.30.13.100:8080; } server { listen 80; location / { proxy_pass http://tomcatweb; } } }
/usr/local/nginx/sbin/nginx -t /usr/local/nginx/sbin/nginx -s stop /usr/local/nginx/sbin/nginx
标签:
原文地址:http://www.cnblogs.com/kamil/p/5167373.html