https访问http跨域问题临时解决方案

问题:was loaded over HTTPS,xxxx This request has been blocked; the content must be served over HTTPS

问题:was loaded over HTTPS,xxxx This request has been blocked; the content must be served over HTTPS.

解决方案一:
https页面只能访问https资源,将访问链接升级为https
解决方案二:
添加响应头 修改页面资源访问权限
nginx 配置
add_header Content-Security-Policy “upgrade-insecure-requests;connect-src *”;
解决方案三:
在Google浏览器设置->隐私和安全->允许显示不安全内容中添加要访问的链接。

发布者:admin,转转请注明出处:http://www.yc00.com/web/1754940755a5218103.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信