Previous Article Next Article 解決 Chrome 顯示 This request has been blocked,因為 HTTPS
Posted in WWW

解決 Chrome 顯示 This request has been blocked,因為 HTTPS

解決 Chrome 顯示 This request has been blocked,因為 HTTPS Posted on 2017 年 03 月 05 日Leave a comment
Mixed Content was loaded over HTTPS, 
but requested an insecure image This request has been blocked; 
the content must be served over HTTPS.

chrome ssl insecure blocked

解決一 : 在程式裡加入

header("Content-Security-Policy: upgrade-insecure-requests");

解決二 : 在 apache config 裡加入

Header set Content-Security-Policy: upgrade-insecure-requests

 

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *