Skip to content

Instantly share code, notes, and snippets.

@dgladkov
Created June 3, 2015 07:05
Show Gist options
  • Save dgladkov/5eb47ceaf2289f87cd69 to your computer and use it in GitHub Desktop.
Save dgladkov/5eb47ceaf2289f87cd69 to your computer and use it in GitHub Desktop.
server {
listen 443 ssl;
server_name example.com;
keepalive_timeout 70;
ssl_certificate crt.crt;
ssl_certificate_key key.key;
ssl_prefer_server_ciphers on;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers kEECDH+AESGCM+AES128:kEECDH+AES128:kRSA+AESGCM+AES128:kRSA+AES128:!RC4:!aNULL:!eNULL:!MD5:!EXPORT:!LOW:!SEED:!CAMELLIA:!IDEA:!PSK:!SRP:!SSLv2;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment