Undo 1ade01c
- Split HSTS headers again
nginx-module-headers-more requires third party repo
This commit is contained in:
4
etc/nginx/snippets/hsts.conf
Normal file
4
etc/nginx/snippets/hsts.conf
Normal 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;
|
Reference in New Issue
Block a user