基于Nginx实现集群原理

1)安装Nginx

2)配置多个Tomcat,并修改端口号(两个端口号不一样即可)

3)在Nginx的Nginx.conf添加如下配置:

原文地址:https://www.cnblogs.com/lantu1989/p/6731853.html