1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/element_ynh.git synced 2024-09-03 18:36:08 +02:00

Remove CSP in nginx config

This commit is contained in:
Josué Tille 2018-07-31 22:51:00 +02:00
parent ea096bdcfc
commit dfc209799d

View file

@ -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(/|$) {