Merge HSTS headers with TLS config

This commit is contained in:
Tommy
2025-01-03 06:27:58 -07:00
committed by GitHub
parent 2e584825ff
commit 1ade01cd11
7 changed files with 5 additions and 10 deletions

View File

@@ -1,5 +0,0 @@
# Enable HSTS header
# Only add this to server blocks with TLS
proxy_hide_header Strict-Transport-Security;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;