fix(front/nginx): fix 404 response on listen URLs

This commit is contained in:
JuniorJPDJ 2022-07-09 15:11:20 +00:00
parent 7801214242
commit 64a49ed121
1 changed files with 2 additions and 2 deletions

View File

@ -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/ {