Skip to content

Instantly share code, notes, and snippets.

@tkshnwesper
Last active November 18, 2016 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tkshnwesper/e7e2eee04c7ea99614c176afd908433d to your computer and use it in GitHub Desktop.
Save tkshnwesper/e7e2eee04c7ea99614c176afd908433d to your computer and use it in GitHub Desktop.
let's encrypt
listen *:443 ssl http2;
listen [::]:443 ssl http2;
ssl_certificate /etc/letsencrypt/live/[site_name]/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/[site_name]/privkey.pem;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers 'ECDH+AESGCM:ECDH+AES256:ECDH+AES128:DH+3DES:!ADH:!AECDH:!MD5';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment