#项目名称(project1,project2...)
upstream tomcat_server1 {
server 192.168.33.113:8080;
}
server {
listen 80;
server_name www.test1.com;
location / {
proxy_pass http://tomcat_server1;
index /project1/toIndex;
}
}