本文共 597 字,大约阅读时间需要 1 分钟。
upstream nginx { server 192.168.2.140:8080; server 192.168.2.136:8080; }
location / { proxy_pass #就是这一行,这里的nginx就是上面upstream 后面的nginx,这是一个名称,请保存两个 #地方是一致的 auth_basic off; auth_basic_user_file /var/user; root html; index index.html index.htm;}
4.分别修改apache webapps/ROOT中的index.jsp,修改为简单的内容
tomcat1
tomcat2
转载地址:http://bdrgl.baihongyu.com/