Skip to content

Instantly share code, notes, and snippets.

@sgnn7
Last active August 29, 2015 14:08
Show Gist options
  • Select an option

  • Save sgnn7/dfcba443639c23292ff5 to your computer and use it in GitHub Desktop.

Select an option

Save sgnn7/dfcba443639c23292ff5 to your computer and use it in GitHub Desktop.
NGINX SSL ciphers
{
# Less secure though more compatible and possibly vulnerable to BEAST attack
# ssl_ciphers 'EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:DHE+aRSA+AES:EECDH+aRSA+SHA384:EECDH+aRSA+GCM+SHA256:!aNULL:!eNULL:!EXPORT:!MEDIUM:!LOW:!CAMELLIA:!3DES:!DES:!MD5:!PSK:!RC4:!DSS:!SRP:!DSS:!SEED:!SSLv3:!SSLv2:!IDEA:!aGOST';
# More secure but might not be compatible with all browsers
ssl_ciphers 'EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EDH+aRSA+AESGCM:!SHA:!aNULL:!eNULL:!EXPORT:!MEDIUM:!LOW:!CAMELLIA:!3DES:!DES:!MD5:!PSK:!RC4:!DSS:!SRP:!DSS:!SEED:!SSLv3:!SSLv2:!IDEA:!aGOST';
ssl_ecdh_curve secp384r1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment