Last active
September 25, 2015 17:18
-
-
Save bradclawsie/956560 to your computer and use it in GitHub Desktop.
nginx ssl hardening highlights
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
ssl_session_cache shared:SSL:10m; | |
ssl_session_timeout 5m; | |
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | |
ssl_ciphers ECDHE-RSA-RC4-SHA:ECDHE-RSA-AES128-SHA:AES256-CGM-SHA256:ECDHE-RSA-AES256-SHA256:RC4:HIGH:!aNULL:!MD5:-LOW:-SSLv2:-EXP; | |
ssl_prefer_server_ciphers on; | |
add_header Strict-Transport-Security "max-age=2592000; includeSubdomains"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment