Created
January 20, 2015 05:00
-
-
Save dwolfhub/fc8b2dfd72ad2c56cf1a to your computer and use it in GitHub Desktop.
Optimal SSL configuration for Nginx
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
server { | |
server_name www.example.com; | |
listen 443; | |
ssl on; | |
ssl_certificate /path/to/ssl-bundle.crt; | |
ssl_certificate_key /path/to/private.key; | |
ssl_session_timeout 5m; | |
ssl_prefer_server_ciphers On; | |
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | |
ssl_ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS; | |
ssl_session_cache shared:SSL:10m; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment