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:
parent
ad90491c14
commit
1249058ae6
1 changed files with 13 additions and 10 deletions
|
@ -23,16 +23,19 @@ 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 {
|
||||||
deny all;
|
deny all;
|
||||||
location ~* \.js$ {
|
location ~* \.js$ {
|
||||||
allow all;
|
allow all;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Include SSOWAT user panel.
|
# Include SSOWAT user panel.
|
||||||
include conf.d/yunohost_panel.conf.inc;
|
include conf.d/yunohost_panel.conf.inc;
|
||||||
|
|
Loading…
Add table
Reference in a new issue