-
Solo 博客系统使用 https 提示
2018-01-19 11:00页面提示这个 JS 引入的时候,应该通过 https 方式。
www.demo.com/:1 Mixed Content: The page at 'www.demo.com/' was loaded over HTTPS, but requested an insecure script 'www.demo.com/js/lib/jquery/jquery.min.js'. This content should also be served over HTTPS. -
Solo 博客系统使用 https 提示
2018-01-19 10:56有几个 JS 文件引入是不安全的
我的 Nginx 配置的是 443 访问,Tomcat80 访问。感觉问题在 Nginx 跳转 Tomcat 时,tomcat 请求是 http 的。
server {
listen 443 ssl;
server_name www.demo.com;
ssl_certificate /etc/fullchain.pem;
ssl_certificate_key /etc/privkey.pem;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
proxy_pass http://demo;
}
}