From a7efea4089a60f6bdf033ea7de9272adb48b00bb Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Mon, 19 Jun 2023 13:18:01 +0200 Subject: [PATCH] Fix nginx and issue https://github.com/YunoHost-Apps/funkwhale_ynh/issues/230 --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 686b45d..715112d 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -108,7 +108,7 @@ location /media/attachments/ { # 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.