mirror of
https://github.com/YunoHost-Apps/cultivons_ynh.git
synced 2024-09-03 18:16:27 +02:00
Protection de certains repertoires pour eviter le download
This commit is contained in:
parent
732553d5d8
commit
657756bd4a
1 changed files with 5 additions and 0 deletions
|
@ -21,6 +21,11 @@ location __PATH__/ {
|
|||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||
}
|
||||
|
||||
# Protection de certains repertoires
|
||||
location ~ /(db|logs|tmp|image)/ {
|
||||
deny all;
|
||||
}
|
||||
### End of PHP configuration part
|
||||
|
||||
# Include SSOWAT user panel.
|
||||
|
|
Loading…
Reference in a new issue