nginx this request has been blocked the content http https was loaded

1.Nginx 配置中配置如下修改即可

server {
    ...
    location / {
        ...
        add_header Content-Security-Policy upgrade-insecure-requests;
        ...
    }
}

https://blog.exsvc.cn/article/https-mixed-content-blocked.html

Related Posts

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注