Skip to content

Instantly share code, notes, and snippets.

@starchy
Created May 20, 2015 19:35
Show Gist options
  • Save starchy/6597028eb4e797e9d536 to your computer and use it in GitHub Desktop.
Save starchy/6597028eb4e797e9d536 to your computer and use it in GitHub Desktop.
Logjam-avoidant PFS SSL config for Nginx
ssl_prefer_server_ciphers on;
ssl_ciphers ECDH+AESGCM:ECDH+AES256:ECDH+AES128:ECDH+3DES:RSA+AES:RSA+3DES:!ADH:!AECDH:!MD5:!DSS;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment