标签 redirect 下的文章

分类: Linux

Nginx https代理tomcat redirect问题的解决

前端nginx,同时启用http和https服务,但是在https页面内不允许加载 http的请求、服务器端重定向时会返回http导致页面不加载也就是请求不到资源,修改nginx配置,关键配置如下:在server段增加:proxy_redirect http:// $scheme://; port_in_redirect on; proxy_set_header Host $host:$se...

阅读全文 »