Change Content-Security-Policy "frame-ancestors" from "none" to "self"
Fixes downloads in element-web
This commit is contained in:
parent
e8427dc81d
commit
35119a2a8e
|
@ -72,7 +72,7 @@ in
|
|||
add_header X-Frame-Options SAMEORIGIN;
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
add_header X-XSS-Protection "1; mode=block";
|
||||
add_header Content-Security-Policy "frame-ancestors 'none'";
|
||||
add_header Content-Security-Policy "frame-ancestors 'self'";
|
||||
|
||||
add_header Strict-Transport-Security "max-age=63072000" always;
|
||||
|
||||
|
|
Loading…
Reference in a new issue