时间: 2024-04-02 22:59:46 人气: -
https地址中,如果加载了http资源,浏览器将认为这是不安全的资源,将会默认阻止,这就会给你带来资源不全的问题了,比如:图片显示不了,样式加载不了,JS加载不了。
Mixed content: load all resources via HTTPS to improve the security of your site
https://xxx.com/index.php/Index/index.html
http://xxxx.hyaomall.com/index.php/Index/index.html
<script src="//xxx.com/js/jquery-1.6.0.js" type="text/javascript"></script>
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
下一篇: 宝塔面板远程备份数据在哪