Skip to content

Instantly share code, notes, and snippets.

@bootjp
Last active August 29, 2015 14:07
Show Gist options
  • Save bootjp/7b9e4b854475be36b9b9 to your computer and use it in GitHub Desktop.
Save bootjp/7b9e4b854475be36b9b9 to your computer and use it in GitHub Desktop.
NginxでSSLの時
server {
listen 443 ssl;
server_name example.com;
ssl_certificate /etc/ssl/certs/hogehoge;
ssl_certificate_key /etc/ssl/certs/hogehoge;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
ssl_prefer_server_ciphers on;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment