Enable hsts for nextcloud
This commit is contained in:
parent
660f9561cf
commit
ebbd106e0a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue