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

 

發表迴響

你的電子郵件位址並不會被公開。 必要欄位標記為 *