nixos/middleman: Fix broken Element Web file downloads
This commit is contained in:
parent
60dcad1390
commit
950bcb3055
@ -181,7 +181,8 @@ 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'";
|
||||
# This seems to break file downloads...
|
||||
#add_header Content-Security-Policy "frame-ancestors 'none'";
|
||||
'';
|
||||
in
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user