Revert "Remove obsolete /_protected/media config"

This reverts commit f13a1d2445
This commit is contained in:
Eliot Berriot 2018-06-19 08:13:34 +00:00
parent 307959dfa6
commit 5ef2241f59
1 changed files with 8 additions and 0 deletions

View File

@ -79,6 +79,14 @@ server {
alias /srv/funkwhale/data/media/; alias /srv/funkwhale/data/media/;
} }
location /_protected/media {
# this is an internal location that is used to serve
# audio files once correct permission / authentication
# has been checked on API side
internal;
alias /srv/funkwhale/data/media;
}
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