Unverified Commit 538bf902 authored by Jakub Skałecki's avatar Jakub Skałecki Committed by GitHub
Browse files

Make HSTS optional

parent 0079d55a
...@@ -14,4 +14,5 @@ ssl_ciphers 'ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECD ...@@ -14,4 +14,5 @@ ssl_ciphers 'ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECD
ssl_prefer_server_ciphers on; ssl_prefer_server_ciphers on;
# HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months) # HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months)
add_header Strict-Transport-Security max-age=15768000; # uncomment if you are sure you'll never drop HTTPS support
# add_header Strict-Transport-Security max-age=15768000;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment