我在服务器(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.
非常感谢。
答案 0 :(得分:0)