mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-04 02:36:49 +07:00
Update nginx-root.conf.sample
To be in compliance with RFC6797 and https://hstspreload.org/, line 31 about the Strict-Transport-Security (HSTS) Header should have a minimum max-age of 31536000 seconds, and not have a ";" symbol at the end.
This commit is contained in:
@@ -49,7 +49,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=31536000; includeSubDomains; preload" always;
|
||||
|
||||
# set max upload size and increase upload timeout:
|
||||
client_max_body_size 512M;
|
||||
|
||||
Reference in New Issue
Block a user