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:
Éric Gaspar 2024-05-23 17:58:13 +02:00
parent 693e13bb7f
commit 0d56e55242

View file

@ -38,19 +38,10 @@ location __PATH__/ {
return 403;
}
location ~ ^__PATH__/tmp/ {
## disable all access to the following directories
location ~ ^__PATH__/(config|tmp|core|lang) {
deny all;
return 403;
}
location ~ ^__PATH__/core/ {
deny all;
return 403;
}
location ~ ^__PATH__/lang/ {
deny all;
return 403;
return 403; # replace with 404 to not show these directories exist
}
location ~ ^__PATH__/\.ht {