Remove CSP in nginx config

This commit is contained in:
Josué Tille 2018-07-31 22:53:09 +02:00
parent d538b0f903
commit 0309665262

View file

@ -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;