Tommy 662d06a701
Undo 1ade01c - Split HSTS headers again
nginx-module-headers-more requires third party repo
2025-01-03 07:08:15 -07:00

4 lines
199 B
Plaintext

# 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;