Skip to content

Instantly share code, notes, and snippets.

@tomruether
Created January 17, 2016 21:03
Show Gist options
  • Select an option

  • Save tomruether/dd8eb2e10f8b14582dfb to your computer and use it in GitHub Desktop.

Select an option

Save tomruether/dd8eb2e10f8b14582dfb to your computer and use it in GitHub Desktop.
nginx default-ssl
server {
listen 443;
server_name localhost;
ssl on;
ssl_certificate server.crt;
ssl_certificate_key server.key;
ssl_session_timeout 5m;
ssl_protocols SSLv2 SSLv3 TLSv1;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
root root_path;
index index.html index.htm;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment