mirror of
https://github.com/YunoHost-Apps/moncycle_ynh.git
synced 2024-09-03 19:46:16 +02:00
Deny access to script folder
This commit is contained in:
parent
68e298d723
commit
3b3b477f79
1 changed files with 5 additions and 0 deletions
|
@ -9,6 +9,11 @@ location __PATH__/ {
|
|||
deny all;
|
||||
}
|
||||
|
||||
# Deny access to script folder
|
||||
location ~ ^/(script/.+)\.(.+) {
|
||||
deny all;
|
||||
}
|
||||
|
||||
# Prevent useless logs
|
||||
location = /favicon.ico {
|
||||
log_not_found off;
|
||||
|
|
Loading…
Reference in a new issue