mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-05 04:26:02 -07:00
remove optional headers
This commit is contained in:
parent
635b2e914a
commit
18707c1177
1 changed files with 0 additions and 9 deletions
|
@ -42,14 +42,5 @@ server {
|
|||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
# Hide version
|
||||
server_tokens off;
|
||||
|
||||
# Security headers
|
||||
add_header X-Frame-Options "SAMEORIGIN" always;
|
||||
add_header X-Content-Type-Options "nosniff" always;
|
||||
add_header X-XSS-Protection "1; mode=block" always;
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||
add_header Referrer-Policy "no-referrer-when-downgrade" always;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue