diff --git a/deploy/nginx.template b/deploy/nginx.template index bde535d41bd4adccfd5fc28376ba7395302d4118..78b8ff3d6cf99e1b732e726ef448de9b65f9d517 100644 --- a/deploy/nginx.template +++ b/deploy/nginx.template @@ -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/(.+) {