Rootop 服务器运维与web架构

network-status中状态为 blocked:mixed-content

谷歌浏览器开发工具console中报:
Mixed Content: The page at ‘https://www.xxx.cn/wp/wp-login.php’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://www.xxx.cn/wp/wp-admin/load-styles.php?c=0&dir=ltr&load%5B%5D=dashicons,buttons,forms,l10n,login&ver=4.8.2’. This request has been blocked; the content must be served over HTTPS.

nginx虚拟主机中添加一行:
add_header Content-Security-Policy upgrade-insecure-requests;

原创文章,转载请注明。本文链接地址: http://www.rootop.org/pages/4220.html

赞赏

微信赞赏支付宝赞赏

作者:Venus

专注于 服务器运维与web架构 E-mail:venus#rootop.org

评论已关闭。