【发布时间】:2019-05-06 11:07:00
【问题描述】:
我在我的服务器(HTTPS)中运行 NGINX,并且我还在服务器中运行了一个 API(通过 PM2)。此 API 响应是 HTTP,我想在 HTTPS 网页中显示响应。
我无法在 HTTPS 中运行 PM2 API。我想要的是允许 HTTPS 提供 HTTP 内容。
Mixed Content: The page at 'https://example_web.com' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://example_api.com'. This request has been blocked; the content must be served over HTTPS.
【问题讨论】:
标签: http nginx https mixed-content