1
0
Fork 0
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:
Limezy 2023-01-20 02:07:14 +07:00
parent 68e298d723
commit 3b3b477f79

View file

@ -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;