在html的頭部加上:
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
轉載于: nginx http請求無法加載https的css樣式