Last active
August 29, 2015 14:23
-
-
Save Gunni/80f8b84e6627e83200bc to your computer and use it in GitHub Desktop.
This file contains hidden or 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
http | |
{ | |
# ... | |
ssl_ciphers "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 ECDHE-RSA-AES256-SHA384 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH !EDH+aRSA !RC4 !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS"; | |
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | |
ssl_prefer_server_ciphers on; | |
ssl_session_cache shared:SSL:64m; | |
ssl_session_tickets on; | |
ssl_session_timeout 1h; | |
# ... | |
} | |
# VHOSTS | |
server | |
{ | |
server_name public-crest.eveonline.com; | |
listen 80; | |
listen [::]:80 ipv6only=on; | |
return 301 https://public-crest.eveonline.com$request_uri; | |
} | |
server | |
{ | |
server_name public-crest.eveonline.com; | |
listen 443 ssl spdy; | |
listen [::]:443 ssl spdy ipv6only=on; | |
# https://tools.ietf.org/html/rfc6797 | |
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload;" always; | |
# ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment