From 919a7181d253df93d83bc4b227fc63931231a2b0 Mon Sep 17 00:00:00 2001 From: lapineige Date: Fri, 26 May 2023 15:25:25 +0200 Subject: [PATCH] fix add-header more_set_headers need to be used according to : https://ci-apps-dev.yunohost.org/ci/job/7400 --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index bf700f0..d5d8b95 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -37,5 +37,5 @@ location / { } location ~ ^/media { - add_header Content-Security-Policy "script-src 'none';"; + more_set_headers Content-Security-Policy "script-src 'none';"; }