nginx配置了HTTPS后,首页显示安全了,但是进入文章后显示不安全
nginx配置HTTPS没有完全生效
- 已编辑
nginx配置
server {
listen 80;
return 301 https://www.punklu.tech;
}
server {
listen 443 ssl;
server_name www.punklu.tech;
root html;
index index.html index.htm;
ssl_certificate 2559746_www.punklu.tech.pem;
ssl_certificate_key 2559746_www.punklu.tech.key;
ssl_session_timeout 5m;
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
location / {
proxy_pass http://172.19.72.71:8090;
}
}
首页是安全的,但是进入文章后,显示并非完全安全
哪位知道是什么原因呀
punklu 修改一下主题的评论插件版本,在comment.ftl里面,1.0.x改为1.0.6