错误:Mixed Content: The page at ‘https://XXX’ was loaded over HTTPS, but requested an insecure........

在使用tomcat+nginx时。Nginx使用https,tomcat使用http。使用iframe之类框架,在重定向时会出现以上问题致使页面加载不出来。这是由于Tomcat不能知道Nginx发来的是http仍是https。nginx 让tomcat知道nginx发来的是http仍是https。默认状况下,nginx获得的https的访问会以http的方式发给负载的tomcat。apache 1
相关文章
相关标签/搜索