1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/matomo_ynh.git synced 2024-09-03 19:45:56 +02:00

Update nginx.conf

This commit is contained in:
ericgaspar 2021-05-18 00:09:23 +02:00
parent 97d5558ebe
commit 041bc3c460
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -35,7 +35,22 @@ location ^~ __PATH__/ {
} }
## disable all access to the following directories ## disable all access to the following directories
location ~ ^__PATH__/(config/|tmp/|core/|lang/) { location ^~ __PATH__/config/ {
deny all;
return 403;
}
location ^~ __PATH__/tmp/ {
deny all;
return 403;
}
location ^~ __PATH__/core/ {
deny all;
return 403;
}
location ^~ __PATH__/lang/ {
deny all; deny all;
return 403; return 403;
} }