server {
listen 443;
server_name shop.xxx.com;
ssl_certificate /etc/nginx/cate_key/shop/5459055_shop.xxx.com.pem;
ssl_certificate_key /etc/nginx/cate_key/shop/5459055_shop.xxx.com.key;
ssl_session_timeout 5m;
ssl_protocols SSLv2 SSLv3 TLSv1 TLSv1.1 TLSv1.2; #按照这个协议配置
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE; #按照这个套件配置
ssl_prefer_server_ciphers on;
root html;
index index.html index.htm;
}
这个配置配置域名,死活出不来, 然后 运维用 宝塔面板一键ssl 就可以, 大佬们, nginx 配置这里 好像无效果
域名 ip解析错误,运维的锅