Skip to content

Instantly share code, notes, and snippets.

@techgaun
Created August 25, 2015 10:39
Show Gist options
  • Select an option

  • Save techgaun/9bc46ddc38a633e97286 to your computer and use it in GitHub Desktop.

Select an option

Save techgaun/9bc46ddc38a633e97286 to your computer and use it in GitHub Desktop.
An example nginx config with ssl using modern cryptography
server {
listen 443 ssl default;
ssl_certificate /etc/nginx/bundle.crt;
ssl_certificate_key /etc/nginx/privkey.pem;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
ssl_prefer_server_ciphers on;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment