From 03096652626787c67c71fd3aeda6c9b67c014ab8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Tue, 31 Jul 2018 22:53:09 +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 599793e..354fe06 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -10,9 +10,6 @@ location __PATH__ { # used for view/edit office file via Office Online Server client_max_body_size 0; - - # Allow seafile to use 'eval' without blocking the execution. But keep a warning. - add_header Content-Security-Policy-Report-Only "script-src https: 'unsafe-eval'"; access_log /var/log/nginx/seahub.access.log; error_log /var/log/nginx/seahub.error.log;