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;
|
||||
}
|
||||
|
||||
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue