Unverified Commit 2f1e2b47 authored by Jakub Skałecki's avatar Jakub Skałecki Committed by GitHub
Browse files

Merge pull request #64 from siebo/fix-sts-header

update ssl.conf to use headers-more-nginx-module included with openresty
parents 7adab166 a0715ea9
...@@ -13,6 +13,6 @@ ssl_protocols TLSv1.2 TLSv1.3; ...@@ -13,6 +13,6 @@ ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384; ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
ssl_prefer_server_ciphers on; ssl_prefer_server_ciphers on;
# HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months) # HSTS (uses headers-more-nginx-module included with openresty) (15768000 seconds = 6 months)
# uncomment if you are sure you'll never drop HTTPS support # uncomment if you are sure you'll never drop HTTPS support
# add_header Strict-Transport-Security max-age=15768000; # more_set_headers 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