在nginx的配置文件中nginx.conf中的server中加入: location ~ \.(jsp|jspx|do){ proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_pass http://127.0.0.1:8080;
在nginx的配置文件中nginx.conf中的server中加入: location ~ \.(jsp|jspx|do){ proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_pass http://127.0.0.1:8080;