From 4010d4932b2995c0697c7e65c003ab92effe4e3d Mon Sep 17 00:00:00 2001 From: toufic ar Date: Thu, 15 Jan 2026 02:29:41 +0200 Subject: [PATCH] remove default-src directive --- config/http/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/http/default.nix b/config/http/default.nix index bda60d7..bbfc752 100644 --- a/config/http/default.nix +++ b/config/http/default.nix @@ -16,7 +16,7 @@ in { recommendedBrotliSettings = true; appendHttpConfig = '' - add_header Content-Security-Policy "default-src 'self'; object-src 'none'; base-uri 'none';" always; + add_header Content-Security-Policy "object-src 'none'; base-uri 'none';" always; add_header 'Referrer-Policy' 'origin-when-cross-origin'; add_header X-Frame-Options DENY; add_header X-Content-Type-Options nosniff;