Enable HSTS for Nextcloud (it should be automatically enabled for all sites so idk why I have to do it manually for Nextcloud)

This commit is contained in:
Anthony Wang 2024-01-12 23:21:01 +00:00
parent baf40d7694
commit 0c08f30f8f
Signed by: a
SSH key fingerprint: SHA256:B5ADfMCqd2M7d/jtXDoihAV/yfXOAbWWri9+GdCN4hQ

View file

@ -29,7 +29,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=15768000; includeSubDomains" always;
# set max upload size and increase upload timeout:
client_max_body_size 16G;