reverseproxy: prevent duplication of STS header
This commit is contained in:
@@ -96,6 +96,7 @@ server {
|
||||
ssl_dhparam /home/yellowtent/platformdata/dhparams.pem;
|
||||
<% } -%>
|
||||
|
||||
proxy_hide_header Strict-Transport-Security;
|
||||
<% if (hstsPreload) { -%>
|
||||
# https://hstspreload.org/
|
||||
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload";
|
||||
|
||||
Reference in New Issue
Block a user