Revert "Remove obsolete /_protected/media config"

This reverts commit f13a1d2445
merge-requests/261/head
Eliot Berriot 2018-06-19 08:13:34 +00:00
rodzic 307959dfa6
commit 5ef2241f59
1 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

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