Skip to content
Snippets Groups Projects
Commit b6def586 authored by Ciarán Ainsworth's avatar Ciarán Ainsworth Committed by Eliot Berriot
Browse files

Resolve "Duplicate locations in nginx template"

parent e3b0efb2
No related branches found
No related tags found
No related merge requests found
......@@ -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/(.+) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment