Replaced all instances of add_header with more_set_headers

This commit is contained in:
2023-11-10 21:50:13 +01:00
parent dfe30fd752
commit a4e5c20193
29 changed files with 57 additions and 57 deletions

View File

@@ -26,6 +26,6 @@ server {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
more_set_headers Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
}
}