<meta http-equiv=\"Content-Security-Policy\" content=\"upgrade-insecure-requests\"/>
页面上存在这一行meta,等同于在header中添加 Content-Security-Policy 为true,会将页面中的http请求变成https请求
页面Http请求自动变成了Https请求
原文:https://www.cnblogs.com/linsky/p/13177332.html