Created
July 11, 2017 08:31
-
-
Save AlexanderKozhevin/c3659f6479a436e6f9deed14b2d0eee9 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
server { | |
listen 443 ssl; | |
server_name hypergraph.cc www.hypergraph.cc; | |
ssl_certificate /etc/letsencrypt/live/app.hypergraph.cc/fullchain.pem; | |
ssl_certificate_key /etc/letsencrypt/live/app.hypergraph.cc/privkey.pem; | |
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | |
ssl_prefer_server_ciphers on; | |
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH'; | |
root /usr/share/nginx/html; | |
index index.html index.htm; | |
error_page 404 /404.html; | |
} | |
server { | |
listen 80; | |
server_name hypergraph.cc; | |
return 301 https://$host$request_uri; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment