本文共 601 字,大约阅读时间需要 2 分钟。
ubuntu nginx配置https:
listen 443 default_server;
ssl on; ssl_certificate /etc/nginx/ssl/ming.crt; ssl_certificate_key /etc/nginx/ssl/ming.key; ssl_session_cache shared:SSL:1m; ssl_session_timeout 5m; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers ECDH:AESGCM:HIGH:!RC4:!DH:!MD5:!3DES:!aNULL:!eNULL; ssl_prefer_server_ciphers on;
:wq
转载于:https://blog.51cto.com/yangzhiming/2384454