Skip to content

Instantly share code, notes, and snippets.

@myles
Created May 5, 2016 15:00
Show Gist options
  • Save myles/6a7ce40de53d5408f24532106aef35a9 to your computer and use it in GitHub Desktop.
Save myles/6a7ce40de53d5408f24532106aef35a9 to your computer and use it in GitHub Desktop.
location /.well-known/acme-challenge {
root /usr/share/nginx/html;
}
# h5bp is from https://github.com/h5bp/server-configs-nginx
include h5bp/directive-only/ssl.conf;
ssl_certificate /etc/letsencrypt/live/bear.mylesbraithwaite.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/bear.mylesbraithwaite.com/privkey.pem;
include h5bp/directive-only/ssl-stapling.conf;
ssl_trusted_certificate /etc/letsencrypt/live/bear.mylesbraithwaite.com/fullchain.pem;
include h5bp/directive-only/spdy.conf;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment