nginx与tomcat 组合 实现静态文件和jsp组合访问

主要修改nginx的配置文件: 设置代理 location /{proxy_pass http://47.94.158.2:8080;proxy_redirect off;proxy_set_header Host $host;proxy_set_header X-Real-IP $remote_a
posted @ 2018-01-03 14:07  caozengling  阅读(1206)  评论(0编辑  收藏  举报