添加 meta 配置
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
该配置将 http 请求转为 https 请求。
如果目标资源本身支持 https 则成功返回资源。如果不支持则需要通过配置代理进行 https → http 转发。

添加 meta 配置
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
该配置将 http 请求转为 https 请求。
如果目标资源本身支持 https 则成功返回资源。如果不支持则需要通过配置代理进行 https → http 转发。