From 64a49ed121ae20d5e6b4505f57787c2f4c5a593a Mon Sep 17 00:00:00 2001 From: JuniorJPDJ Date: Sat, 9 Jul 2022 15:11:20 +0000 Subject: [PATCH] fix(front/nginx): fix 404 response on listen URLs --- front/docker/funkwhale.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/front/docker/funkwhale.template b/front/docker/funkwhale.template index 4f7200190..d56f40573 100644 --- a/front/docker/funkwhale.template +++ b/front/docker/funkwhale.template @@ -82,7 +82,7 @@ server { # has been checked on API side location /_protected/media/ { internal; - alias ${MEDIA_ROOT}; + alias ${MEDIA_ROOT}/; } # Comment the previous location and uncomment this one if you're storing @@ -100,7 +100,7 @@ server { # has been checked on API side # Set this to the same value as your MUSIC_DIRECTORY_PATH setting internal; - alias ${MUSIC_DIRECTORY_PATH}; + alias ${MUSIC_DIRECTORY_PATH}/; } location /staticfiles/ {