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:
parent
ea096bdcfc
commit
dfc209799d
1 changed files with 0 additions and 3 deletions
|
@ -10,9 +10,6 @@ location __PATH__/ {
|
||||||
# Common parameter to increase upload size limit in conjuction with dedicated php-fpm file
|
# Common parameter to increase upload size limit in conjuction with dedicated php-fpm file
|
||||||
client_max_body_size 100M;
|
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;
|
#try_files $uri $uri/ index.php;
|
||||||
location ~ [^/]\.php(/|$) {
|
location ~ [^/]\.php(/|$) {
|
||||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||||
|
|
Loading…
Add table
Reference in a new issue