域 SSL 不适用于端口 9002

-1 ssl

我有带有 SSL 证书的 example.com 域。我尝试使用 iframe将http://example.com:9002 URL包含到https://example.com页面中。但是我收到了错误,例如阻止加载混合活动内容

请帮助在服务器中解决此问题。我尝试使用 .htaccess 文件更改标题Header set Access-Control-Allow-Origin " "*

提前致谢

Que*_*oss 15

您正在 HTTPS 网站上包含一个 HTTP iframe。所有资产,包括您的 iframe 都需要是 HTTPS。

请参阅:https : //developer.mozilla.org/en-US/docs/Security/MixedContent

  • 从源代码中删除它们。 (4认同)