Skip to content

Instantly share code, notes, and snippets.

@mattkirman
Created November 7, 2011 20:00
Show Gist options
  • Save mattkirman/1345986 to your computer and use it in GitHub Desktop.
Save mattkirman/1345986 to your computer and use it in GitHub Desktop.
Nginx SSL config
server {
listen 443;
server_name localhost;
ssl on;
ssl_certificate cert.pem;
ssl_certificate_key cert.key;
ssl_session_timeout 5m;
ssl_protocols SSLv2 SSLv3 TLSv1;
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
ssl_prefer_server_ciphers on;
location / {
root html;
index index.html index.htm;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment