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:
Luiz Surian
2021-10-27 13:37:18 -03:00
committed by MichaIng
parent 43682bd67e
commit c9b1b22eb9

View File

@@ -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;