Enforce Nextcloud HSTS

This commit is contained in:
Anthony Wang 2021-11-19 16:30:12 -06:00
parent d690861659
commit fb543267fc
Signed by: a
GPG key ID: BC96B00AEC5F2D76

View file

@ -27,7 +27,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
client_max_body_size 16G;