mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
block /log and /config
This commit is contained in:
parent
18ad9d52ec
commit
9fccc10395
1 changed files with 7 additions and 3 deletions
|
@ -33,6 +33,10 @@ location ~ ^PATHTOCHANGE/ws/ {
|
|||
}
|
||||
}
|
||||
|
||||
location ~ ^PATHTOCHANGE/(log|\.ht) {
|
||||
location ~ /\.ht {
|
||||
deny all;
|
||||
}
|
||||
}
|
||||
|
||||
location ~ /(config|log)$ {
|
||||
return 403;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue