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,16 +23,19 @@ location YNH_EXAMPLE_PATH {
deny all;
}
location ~ private(?!/temp) {
deny all;
}
location ~ core {
deny all;
location ~* \.js$ {
allow all;
}
}
location ~ private {
deny all;
location ~* /temp/.*\.zip$ {
allow all;
}
}
location ~ core {
deny all;
location ~* \.js$ {
allow all;
}
}
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;