From 82129d1d3f588ad153b9c18e93206f3955eebe3d Mon Sep 17 00:00:00 2001 From: mbugeia Date: Wed, 14 Oct 2015 16:53:50 +0200 Subject: [PATCH] Fix yunohost panel #10 --- conf/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 035e299..48a22e7 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -6,6 +6,7 @@ location PATHTOCHANGE { index index.php; client_max_body_size 50M; try_files $uri $uri/ /index.php?$args; + more_set_headers Content-Security-Policy "default-src 'self' 'unsafe-eval' data:;"; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$;