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:
parent
9ec2dd223f
commit
03a5f200f6
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ location __PATH__/ {
|
||||||
|
|
||||||
|
|
||||||
## disable all access to the following directories
|
## disable all access to the following directories
|
||||||
location ~ ^/(config|tmp|core|lang) {
|
location __PATH__/(config|tmp|core|lang) {
|
||||||
deny all;
|
deny all;
|
||||||
return 403; # replace with 404 to not show these directories exist
|
return 403; # replace with 404 to not show these directories exist
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue