Skip to content

Instantly share code, notes, and snippets.

@pahud
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pahud/881ff7d2fa4fab3e9f07 to your computer and use it in GitHub Desktop.
Save pahud/881ff7d2fa4fab3e9f07 to your computer and use it in GitHub Desktop.
nginx.conf from UPYUN
server {
listen 443 ssl spdy;
server_name upyun.com;
ssl_certificate upyun.com.pem;
ssl_certificate_key upyun.com.key;
ssl_ciphers EECDH+CHACHA20:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:10m;
add_header Strict-Transport-Security max-age=63072000;
add_header X-Frame-Options SAMEORIGIN;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment