1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00

Update nginx.conf

This commit is contained in:
ericgaspar 2020-10-17 15:24:29 +02:00
parent b85b46634c
commit be13b33ae1
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -16,6 +16,10 @@ location __PATH__/ {
# Override CSP header to make SSOWAT user panel compatible with kanboard
more_set_headers Content-Security-Policy "default-src 'self' 'unsafe-eval' data:;";
location __PATH__/(?:kanboard|config.php|config.default.php) {
deny all;
}
# Deny access to the directory data
location __PATH__/data {
deny all;