Skip to content

Instantly share code, notes, and snippets.

@cupnoodle
Last active July 17, 2016 14:13
Show Gist options
  • Select an option

  • Save cupnoodle/fd47b54c03572d365350 to your computer and use it in GitHub Desktop.

Select an option

Save cupnoodle/fd47b54c03572d365350 to your computer and use it in GitHub Desktop.
Nginx config with SSL
listen 443 ssl;
server_name [your_domain] www.[your_domain];
ssl_certificate /etc/letsencrypt/live/[your_domain]/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/[your_domain]/privkey.pem;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment