Skip to content

Instantly share code, notes, and snippets.

@brianmcdo
Created April 17, 2016 04:36
Show Gist options
  • Save brianmcdo/6a32f6bfb681d1637889906c98836488 to your computer and use it in GitHub Desktop.
Save brianmcdo/6a32f6bfb681d1637889906c98836488 to your computer and use it in GitHub Desktop.
nginx-ssl
ssl_session_cache shared:ssl_session_cache:10m;
ssl_certificate /path/to/bundle.crt;
ssl_certificate_key /path/to/certificate.key;
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains";
include sslconfig/conf;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment