From 3559a78338e5eaf502d5b49f19e275aa955f1334 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 15 Oct 2023 12:34:21 +0200 Subject: surtr(element): frame-ancestors... --- hosts/surtr/matrix/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hosts/surtr') diff --git a/hosts/surtr/matrix/default.nix b/hosts/surtr/matrix/default.nix index 1772199b..fcebf9c1 100644 --- a/hosts/surtr/matrix/default.nix +++ b/hosts/surtr/matrix/default.nix @@ -214,7 +214,7 @@ with lib; 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'"; ''; root = pkgs.element-web.override { -- cgit v1.2.3