Merge pull request #9127 from nextcloud/backport/9114/stable24

[stable24] remove invalid trailing semicolon from hsts header
This commit is contained in:
Daniel 2022-08-03 09:40:43 +02:00 committed by GitHub
commit aa9ce078de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,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; preload" always;
# set max upload size and increase upload timeout:
client_max_body_size 512M;

View File

@ -45,7 +45,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; preload" always;
location = /robots.txt {
allow all;