Merge branch 'revert-f13a1d24' into 'develop'

Revert "Remove obsolete /_protected/media config"

See merge request funkwhale/funkwhale!260
This commit is contained in:
Eliot Berriot 2018-06-19 08:20:50 +00:00
commit b0430c3884
1 changed files with 8 additions and 0 deletions

View File

@ -79,6 +79,14 @@ server {
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 {
# this is an internal location that is used to serve
# audio files once correct permission / authentication