Skip to content

Instantly share code, notes, and snippets.

@Atala
Created July 27, 2015 16:54
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 Atala/e85b7f03032774ed6268 to your computer and use it in GitHub Desktop.
Save Atala/e85b7f03032774ed6268 to your computer and use it in GitHub Desktop.
ssl_session_timeout 5m;
ssl_session_cache shared:SSL: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_dhparam /etc/nginx/cert/dhparams.pem;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment