配置上游服务器
upstream tomcats {
server 192.168.206.129:8080;
server 192.168.206.130:8080;
server 192.168.206.131:8080;
}
server {
listen 612;
server_name www.tomcats.com;
location / {
proxy_pass http://tomcats;
}
}
![img](/i/l/?n=23&i=blog/3149811/202304/3149811-20230430171634169-949398703.png)
标签:3149811,8080,Tomcat,192.168,server,nginx,tomcats,集群
From: https://www.cnblogs.com/xiaodunan/p/17365483.html