Created
January 20, 2019 10:35
-
-
Save jwhitehorn/012458853e8b994b4bb73d39da772a5b to your computer and use it in GitHub Desktop.
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 { | |
server_name jason.whitehorn.us; | |
listen 443 ssl; | |
listen [::]:443 ssl; | |
ssl_certificate /etc/nginx/jason.whitehorn.us.crt; | |
ssl_certificate_key /etc/nginx/jason.whitehorn.us.key; | |
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | |
ssl_prefer_server_ciphers on; | |
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-RC4-SHA:ECDHE-RSA-AES128-SHA:AES128-SHA:RC4-SHA; | |
ssl_session_cache shared:SSL:10m; | |
ssl_client_certificate /etc/nginx/whitehorn-ca.crt; | |
ssl_verify_client optional; | |
ssl_verify_depth 2; | |
add_header Strict-Transport-Security max-age=31536000; | |
location / { | |
//TODO: proxy-pass or serve static content here | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment