Created
August 25, 2015 10:39
-
-
Save techgaun/9bc46ddc38a633e97286 to your computer and use it in GitHub Desktop.
An example nginx config with ssl using modern cryptography
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 { | |
| listen 443 ssl default; | |
| ssl_certificate /etc/nginx/bundle.crt; | |
| ssl_certificate_key /etc/nginx/privkey.pem; | |
| ssl_session_cache shared:SSL:1m; | |
| ssl_session_timeout 5m; | |
| ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH'; | |
| ssl_prefer_server_ciphers on; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment