• 欢迎访问duantianhen的网站,主要总结PHP、Go、服务器、前端、推荐使用最新版火狐浏览器和Chrome浏览器访问本网站

Mixed Content Page(https下引用http资源)

前端 admin 11个月前 (05-09) 250次浏览 已收录 0个评论

最好把资源替换为https下的

暂时可以:

The search engine giant recommended you to enable it via an HTTP response header, “Content-Security-Policy: upgrade-insecure-requests,” if all the content is controlled by you. However, if the unsecure resources are served from a web server you don’t control, you can include the <meta http-equiv=”Content-Security-Policy” content=”upgrade-insecure-requests”> tag in your page’s <head>.

即 在head中加入 <meta http-equiv=”Content-Security-Policy” content=”upgrade-insecure-requests”>


本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:Mixed Content Page(https下引用http资源)
喜欢 (0)

您必须 登录 才能发表评论!