mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-03 16:03:38 +00:00
@@ -4,4 +4,8 @@ more_set_headers "X-Content-Type-Options: nosniff";
|
||||
more_set_headers "Referrer-Policy: strict-origin-when-cross-origin";
|
||||
more_set_headers "Content-Security-Policy: $content_security_policy";
|
||||
|
||||
more_set_headers "Strict-Transport-Security: max-age=31536000; includeSubDomains; preload";
|
||||
map $scheme $hsts_header {
|
||||
https "max-age=31536000; includeSubDomains; preload";
|
||||
}
|
||||
|
||||
more_set_headers "Strict-Transport-Security: $hsts_header";
|
||||
|
Reference in New Issue
Block a user