Skip to content

Instantly share code, notes, and snippets.

@madsheep
Created October 21, 2014 13:29
Show Gist options
  • Save madsheep/4b66759807ec142d742e to your computer and use it in GitHub Desktop.
Save madsheep/4b66759807ec142d742e to your computer and use it in GitHub Desktop.
full nginx config
ssl on;
ssl_certificate /opt/nginx/certs/domain.crt;
ssl_certificate_key /opt/nginx/certs/domain.key;
ssl_ciphers "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA+RC4 EECDH EDH+aRSA RC4 !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS";
ssl_prefer_server_ciphers on;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
underscores_in_headers on;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment