Nginx配置upstream并且实现负载均衡 12https://www.cnblogs.com/muhy/p/10521896.html https://www.coder4.com/archives/6914 1. docker 下分别建了两台容器 12centos73 —> docker exec -it centos73 /bin/bash —> 172.17.0.3 —> 8.217.41.220:8072 [bb3d40707ed7] centos74 —> docker exec -it centos74 /bin/bash —> 172.17.0.4 —> 8.217.41.220:8082 [d847cb82dd19] 2. 两台机器分别安装了Nginx和Tomcat ,[两台都已经安装了lnmp.所以这次两台都只需安装tomcat] 1234yum install -y tomcat //安装tomcat服务 systemctl […]