From dfc209799d9688925aade08cfd1a4b190779c4c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Tue, 31 Jul 2018 22:51:00 +0200 Subject: [PATCH] Remove CSP in nginx config --- conf/nginx.conf | 3 --- 1 file changed, 3 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 3c058d7..2b0aaa3 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -9,9 +9,6 @@ location __PATH__/ { # Common parameter to increase upload size limit in conjuction with dedicated php-fpm file client_max_body_size 100M; - - # Allow riot to use 'eval' without blocking the execution. But keep a warning. - add_header Content-Security-Policy-Report-Only "script-src https: 'unsafe-eval'"; #try_files $uri $uri/ index.php; location ~ [^/]\.php(/|$) {