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
6ab1bf13aa
commit
97d5558ebe
1 changed files with 2 additions and 2 deletions
|
@ -35,9 +35,9 @@ 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/|tmp/|core/|lang/) {
|
||||||
deny all;
|
deny all;
|
||||||
return 404;
|
return 403;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ __PATH__/\.ht {
|
location ~ __PATH__/\.ht {
|
||||||
|
|
Loading…
Add table
Reference in a new issue