详解NGINX访问https跳转到http的解决方法
详解NGINX访问https跳转到http的解决方法
(nginx https代理tomcat redirect问题)
情况说明:
- nginx配置https,tomcat正常http接受nginx转发。
- nginx 代理https后,(java代码redirect地址)应用redirect https变成http
情况类似:
- 浏览器打开https://www.zzvips.com/aaa.html,然后跳转到http://www.zzvips.com/aaa.html
- 网站架构:用户–https—>nginx代理—http