如何修复 "insecure content was loaded over HTTPS, but requested an insecure resource"

How to fix "insecure content was loaded over HTTPS, but requested an insecure resource"

这个URL:https://slowapi.com

我找不到不安全的内容,Chrome一直抱怨,

有什么想法吗?

"Mixed Content" 要求 HTTPS 页面通过 HTTP 加载资源时出现警告。

这很危险,因为不安全的资源很容易被主动攻击者更改或被被动攻击者窃听,这违反了用户对 HTTPS 页面安全性的期望。

https://developers.google.com/web/fundamentals/security/prevent-mixed-content/fixing-mixed-content?hl=en

您正在尝试通过 "http" 访问 "https" 站点,最好使用 "https" 内容。您不应在安全通道上访问不安全的数据。

通过添加元标记更新链接,如下所示

<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">

注意:这是一个 hot fix 当您将产品从非 ssl 更新到 ssl 时,无论如何您必须修复所有一个一个链接到https。

我在另一个网站的 iframe 中遇到了这个错误。 我将 src 从“https://website.com/folder”更改为“https://website.com/folder/index.php”,出于某种原因它有效。