Activated Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always for Nextcloud

This commit is contained in:
Kevin Veen-Birkenbach 2025-06-20 10:23:37 +02:00
parent 716c1c40e9
commit 68287c3c66
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
2 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ http {
# will add the domain to a hardcoded list that is shipped # will add the domain to a hardcoded list that is shipped
# in all major browsers and getting removed from this list # in all major browsers and getting removed from this list
# could take several months. # could take several months.
#add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always; add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always;
# set max upload size # set max upload size
client_max_body_size 512M; client_max_body_size 512M;