Resolve "Duplicate locations in nginx template"

merge-requests/757/head
Ciarán Ainsworth 2019-05-03 09:47:44 +02:00 zatwierdzone przez Eliot Berriot
rodzic e3b0efb25f
commit b6def586a1
1 zmienionych plików z 1 dodań i 8 usunięć

Wyświetl plik

@ -109,16 +109,9 @@ server {
# audio files once correct permission / authentication
# has been checked on API side
internal;
}
# this is an internal location that is used to serve
# audio files once correct permission / authentication
# has been checked on API side
location /_protected/media {
internal;
alias ${MEDIA_ROOT};
}
# Comment the previous location and uncomment this one if you're storing
# media files in a S3 bucket
# location ~ /_protected/media/(.+) {