1
0
Fork 0
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:
plabuse 2023-01-09 07:22:30 +01:00
parent 732553d5d8
commit 657756bd4a

View file

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