1
0
Fork 0
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:
matlink 2014-11-23 18:41:12 +01:00 committed by Moul
parent d7e4fd20bf
commit 26d3a7574c

View file

@ -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;
}