From a9a3682157c3eae673a716868a7cef353eedd7d4 Mon Sep 17 00:00:00 2001 From: Viktor Berke Date: Thu, 14 Nov 2024 20:25:10 +0100 Subject: [PATCH] Wordpress 6.7 compat --- templates/ssl.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/ssl.conf.j2 b/templates/ssl.conf.j2 index b67bc7e..ba94ddd 100644 --- a/templates/ssl.conf.j2 +++ b/templates/ssl.conf.j2 @@ -25,6 +25,6 @@ proxy_hide_header X-Frame-Options; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"; add_header X-Content-Type-Options "nosniff"; add_header X-XSS-Protection "1; mode=block"; -add_header Content-Security-Policy "default-src https: 'unsafe-inline' 'unsafe-eval'; connect-src https: wss:; img-src data: https://*"; +add_header Content-Security-Policy "default-src https: 'unsafe-inline' 'unsafe-eval'; connect-src https: wss:; img-src data: https://*; frame-src 'self' blob:; font-src data: https:"; add_header Referrer-Policy "strict-origin-when-cross-origin"; add_header X-Frame-Options "SAMEORIGIN";