1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/funkwhale_ynh.git synced 2024-09-03 18:36:24 +02:00

fix path_transversal

This commit is contained in:
yalh76 2021-04-02 20:34:19 +02:00
parent f7977494f3
commit bdb674e9b0

View file

@ -113,7 +113,7 @@ location /media/ {
alias __DATADIR__/media/; alias __DATADIR__/media/;
} }
location /_protected/media { location /_protected/media/ {
# this is an internal location that is used to serve # this is an internal location that is used to serve
# audio files once correct permission / authentication # audio files once correct permission / authentication
# has been checked on API side # has been checked on API side
@ -130,7 +130,7 @@ location /_protected/media {
# proxy_pass $1; # proxy_pass $1;
# } # }
location /_protected/music { location /_protected/music/ {
# this is an internal location that is used to serve # this is an internal location that is used to serve
# audio files once correct permission / authentication # audio files once correct permission / authentication
# has been checked on API side # has been checked on API side