forked from exozyme/nginx
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:
parent
baf40d7694
commit
0c08f30f8f
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ server {
|
||||||
# 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" always;
|
||||||
|
|
||||||
# set max upload size and increase upload timeout:
|
# set max upload size and increase upload timeout:
|
||||||
client_max_body_size 16G;
|
client_max_body_size 16G;
|
||||||
|
|
Loading…
Reference in a new issue