mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
Fix CSP warnings
This commit is contained in:
parent
b0e55d147e
commit
fb53db7788
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ location __PATH__/ {
|
||||||
try_files $uri $uri/ /index.php?$args;
|
try_files $uri $uri/ /index.php?$args;
|
||||||
|
|
||||||
# Override CSP header to make SSOWAT user panel compatible with kanboard
|
# Override CSP header to make SSOWAT user panel compatible with kanboard
|
||||||
more_set_headers "Content-Security-Policy: default-src 'self'; unsafe-eval 'data'";
|
more_set_headers "Content-Security-Policy: 'default-src' 'self' 'unsafe-eval' data:;";
|
||||||
|
|
||||||
location __PATH__/(?:kanboard|config.php|config.default.php) {
|
location __PATH__/(?:kanboard|config.php|config.default.php) {
|
||||||
deny all;
|
deny all;
|
||||||
|
|
Loading…
Reference in a new issue