Skip to content

Instantly share code, notes, and snippets.

@ryankearney
Created January 22, 2014 02:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryankearney/8552425 to your computer and use it in GitHub Desktop.
Save ryankearney/8552425 to your computer and use it in GitHub Desktop.
hn 7098737
ssl on;
ssl_certificate /etc/ssl/certs/mycert.pem;
ssl_certificate_key /etc/ssl/private/mykey.pem;
ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_session_timeout 5m;
ssl_session_cache builtin:1000 shared:SSL:10m;
ssl_ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AES:RSA+3DES:!ADH:!AECDH:!MD5:!DSS;
add_header Strict-Transport-Security max-age=31536000;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment