mirror of
https://github.com/YunoHost-Apps/pluxml_ynh.git
synced 2024-09-03 20:16:02 +02:00
[fix] allowing /data/images folder to allow images links
This commit is contained in:
parent
d7e4fd20bf
commit
26d3a7574c
1 changed files with 7 additions and 4 deletions
|
@ -12,10 +12,13 @@ location YNH_EXAMPLE_PATH {
|
|||
fastcgi_param REMOTE_USER $remote_user;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
}
|
||||
location YNH_EXAMPLE_PATH/data {
|
||||
deny all;
|
||||
return 403;
|
||||
}
|
||||
location YNH_EXAMPLE_PATH/data/images{
|
||||
allow all;
|
||||
}
|
||||
location YNH_EXAMPLE_PATH/data {
|
||||
deny all;
|
||||
return 403;
|
||||
}
|
||||
# Include SSOWAT user panel.
|
||||
include conf.d/yunohost_panel.conf.inc;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue