nginx 做反向代理,配置外网映射后重定向端口变了
route [非80] - nginx[80]- tomcat外网访问地址为:9090/重定向后网页访问解决方法:`location /app/{
proxy_pass http://tomcat/app/; proxy_set_header Host $host:[外部端口]; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; client_max_body_size 500m;}
继续更新...