From 30057712d2d9b30589648db3ddd0efa2fc319dc2 Mon Sep 17 00:00:00 2001 From: toufic ar Date: Wed, 4 Mar 2026 04:20:44 +0200 Subject: [PATCH] nginx lax CSP --- 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 474c18f..6d6862d 100644 --- a/config/http/default.nix +++ b/config/http/default.nix @@ -35,7 +35,7 @@ in { https "max-age=31536000; includeSubdomains; preload"; } more_set_headers 'Strict-Transport-Security: $hsts_header'; - more_set_headers 'Content-Security-Policy: default-src "self"'; + more_set_headers 'Content-Security-Policy: default-src "self" *'; more_set_headers 'Referrer-Policy: origin-when-cross-origin'; more_set_headers 'X-Frame-Options: DENY'; more_set_headers 'X-Content-Type-Options: nosniff';