实验环境:
nginx1------20.0.0.11------客户端
静态页面:
nginx2------20.0.0.21------代理服务器1
nginx3------20.0.0.31------代理服务器2
动态页面:
tomcat1------20.0.0.12------后端服务器1
tomcat2------20.0.0.22------后端服务器2
实验步骤:
1、nginx1四层代理


cd html
vim index.html

2、创建静态页面
nginx2

cd html
vim index.html

nginx3

cd html
vim index.html

3、创建动态页面
tomcat1




tomcat2




4、测试

