Enable hsts for nextcloud

This commit is contained in:
Manuel Thalmann 2024-12-14 03:53:59 +01:00
parent 660f9561cf
commit ebbd106e0a

View file

@ -46,7 +46,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 and increase upload timeout: # set max upload size and increase upload timeout:
client_max_body_size 512M; client_max_body_size 512M;