在html的头部加上:
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
转载于: nginx http请求无法加载https的css样式