blob was loaded over an insecure connection. This file should be served over HTTPS.
时间: 2023-10-17 14:32:42 浏览: 386
报错信息"blob was loaded over an insecure connection. This file should be served over HTTPS."意味着某个文件(blob)在不安全的连接上加载,应该通过HTTPS进行服务。一种常见的解决办法是通过在页面头部的元数据中添加`<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />`来升级不安全请求。这样可以确保所有静态文件也通过HTTPS协议访问。此外,还需要在代理的静态Nginx上配置SSL证书,以适应域名static.example.com。。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [Nginx报错Mixed Content: The page was loaded over HTTPS, This content should also be served over ...](https://blog.csdn.net/qq_34777982/article/details/128018676)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]