Undo 1ade01c - Split HSTS headers again

nginx-module-headers-more requires third party repo
This commit is contained in:
Tommy
2025-01-03 07:08:15 -07:00
committed by GitHub
parent a4dd4b6237
commit 662d06a701
7 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
# 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;