标签:crt out lan nginx listen etc tls 页面 pre
Nginx Https配置
应用HTTPS后,Firefox 提示Nginx网站 “此页面使用较弱加密”。
cd /etc/nginx/conf.d
sudo nano nginx.conf
sudo nginx -s reload
nginx.conf
listen 80;
listen 443 ssl http2; #ssl http2
ssl on;
ssl_certificate /home/data/cert/*.site.crt;
ssl_certificate_key /home/data/cert/*.site.key;
ssl_session_timeout 5m;
ssl_protocols SSLv2 SSLv3 TLSv1 TLSv1.1 TLSv1.2; #TLSv1.1 TLSv1.2
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
ssl_prefer_server_ciphers on;
[Server] Nginx Https配置 及 Firefox提示“此页面使用较弱加密”
标签:crt out lan nginx listen etc tls 页面 pre
原文地址:https://www.cnblogs.com/herryzz/p/13150679.html