问题前言
iframe框架加载http/https页面 – – 游览器状态
解决方案
http – http (允许)
http – https(允许)
https – http(不允许,不支持 https 嵌套 http)
https- https(允许)
https – https – insecure scripts (不允许,不安全的脚本 虽然两个都是https,脚本不安全浏览器会阻止)
https – https – inscure images(允许,但浏览器会发出警告)
https/http全支持的情况下可以考虑在头部添加:
<meta http-equiv=”Content-Security-Policy” content=”upgrade-insecure-requests” />
使用说明
请根据自己实际情况做相应修改