mirror of
https://github.com/YunoHost-Apps/pluxml_ynh.git
synced 2024-09-03 20:16:02 +02:00
[fix] path access issue
This commit is contained in:
parent
7b9a36501e
commit
63093af74e
1 changed files with 5 additions and 5 deletions
|
@ -14,13 +14,13 @@ location YNH_EXAMPLE_PATH {
|
||||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||||
}
|
}
|
||||||
|
|
||||||
location YNH_EXAMPLE_PATH/data/medias{
|
location ^~ YNH_EXAMPLE_PATH/data/medias/ {
|
||||||
allow all;
|
allow all;
|
||||||
}
|
}
|
||||||
|
|
||||||
location YNH_EXAMPLE_FOLDER/data {
|
location ^~ YNH_EXAMPLE_FOLDER/data/ {
|
||||||
deny all;
|
deny all;
|
||||||
return 403;
|
return 403;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Include SSOWAT user panel.
|
# Include SSOWAT user panel.
|
||||||
|
|
Loading…
Add table
Reference in a new issue