nginx-subdir: Align HSTS directive with root config

Signed-off-by: MichaIng <micha@dietpi.com>
This commit is contained in:
MichaIng
2025-05-05 13:21:16 +02:00
parent c9b1b22eb9
commit 4ad9e7c36e

View File

@ -103,7 +103,7 @@ server {
# will add the domain to a hardcoded list that is shipped
# in all major browsers and getting removed from this list
# could take several months.
#add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always;
#add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
# HTTP response headers borrowed from Nextcloud `.htaccess`
add_header Referrer-Policy "no-referrer" always;