mirror of
https://github.com/bitwarden/server.git
synced 2024-11-28 13:15:12 +01:00
add X-Frame-Options specifically
This commit is contained in:
parent
2562d5a40d
commit
6b8fdc1a98
@ -1,4 +1,3 @@
|
||||
add_header Referrer-Policy same-origin;
|
||||
add_header X-Frame-Options SAMEORIGIN;
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
add_header X-XSS-Protection "1; mode=block";
|
@ -55,6 +55,7 @@ server {
|
||||
{{/if}}
|
||||
include /etc/nginx/security-headers.conf;
|
||||
add_header Content-Security-Policy "{{{ContentSecurityPolicy}}}";
|
||||
add_header X-Frame-Options SAMEORIGIN;
|
||||
}
|
||||
|
||||
location = /app-id.json {
|
||||
@ -103,5 +104,10 @@ server {
|
||||
|
||||
location /admin {
|
||||
proxy_pass http://admin:5000;
|
||||
{{#if Ssl}}
|
||||
include /etc/nginx/security-headers-ssl.conf;
|
||||
{{/if}}
|
||||
include /etc/nginx/security-headers.conf;
|
||||
add_header X-Frame-Options SAMEORIGIN;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user