Last active
August 29, 2015 14:19
-
-
Save pahud/881ff7d2fa4fab3e9f07 to your computer and use it in GitHub Desktop.
nginx.conf from UPYUN
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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