From d3e41f949d4a60aaccd7456c0edea5bed4498450 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Wed, 13 Dec 2023 21:05:56 +0100 Subject: [PATCH] revert update which leads to track not available when uploaded (not in_place) --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index e177f60..3f2f2d0 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -89,7 +89,7 @@ # has been checked on API side. # Comment the "NON-S3" commented lines and uncomment "S3" commented lines # if you're storing media files in a S3 bucket. - location ~ /_protected/media/(.+)/ { + location /_protected/media/ { internal; alias __DATA_DIR__/data/media/$1; # NON-S3 # Needed to ensure DSub auth isn't forwarded to S3/Minio, see #932. @@ -115,4 +115,4 @@ location /staticfiles/ { alias __DATA_DIR__/data/static/; - } \ No newline at end of file + }