内网网站地址为: 192.168.1.242:8080/pmc_frontend/
nginx 服务器地址: 10.10.1.10
希望达到 用户浏览器地址访问 10.10.1.10:80 而实际是访问后面的 192.168.1.242:8080/pmc_frontend/
我的配置如下
但是实际访问中:键入 10.10.1.10 浏览器会 302 到 10.10.1.10/pmc_frontend/ 从而提示 404
爬了一阵子文章 感觉 应该是从 proxy_redirect 入手,求大家指点
nginx 服务器地址: 10.10.1.10
希望达到 用户浏览器地址访问 10.10.1.10:80 而实际是访问后面的 192.168.1.242:8080/pmc_frontend/
我的配置如下
但是实际访问中:键入 10.10.1.10 浏览器会 302 到 10.10.1.10/pmc_frontend/ 从而提示 404
爬了一阵子文章 感觉 应该是从 proxy_redirect 入手,求大家指点
