Last active
August 29, 2018 01:21
-
-
Save hungmi/00c82c8490eb13155cd457849b75a00b to your computer and use it in GitHub Desktop.
/etc/letsencrypt/options-ssl-nginx.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/letsencrypt/options-ssl-nginx.conf | |
ssl_session_timeout 5m; | |
ssl_session_cache shared:SSL:50m; | |
ssl_session_timeout 1440m; | |
ssl_session_cache shared:ssl_session_cache:10m; | |
ssl_session_tickets off; | |
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | |
ssl_prefer_server_ciphers on; | |
ssl_ciphers 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'; | |
# 請注意此行可能會跟 /etc/nginx/sites-available/DomainName 裡面的設定重複 | |
ssl_dhparam /etc/nginx/ssl/DomainName/dhparams.pem; | |
ssl_stapling on; | |
ssl_stapling_verify on; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment