Merge HSTS headers with TLS config
This commit is contained in:
@@ -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;
|
Reference in New Issue
Block a user