1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bozon_ynh.git synced 2024-09-03 18:16:09 +02:00

Only allow zip file

This commit is contained in:
ewilly 2016-04-26 19:01:01 +02:00
parent ad90491c14
commit 1249058ae6

View file

@ -23,8 +23,11 @@ location YNH_EXAMPLE_PATH {
deny all; deny all;
} }
location ~ private(?!/temp) { location ~ private {
deny all; deny all;
location ~* /temp/.*\.zip$ {
allow all;
}
} }
location ~ core { location ~ core {