fix(front/nginx): fix 404 response on listen URLs
This commit is contained in:
parent
7801214242
commit
64a49ed121
|
@ -82,7 +82,7 @@ server {
|
||||||
# has been checked on API side
|
# has been checked on API side
|
||||||
location /_protected/media/ {
|
location /_protected/media/ {
|
||||||
internal;
|
internal;
|
||||||
alias ${MEDIA_ROOT};
|
alias ${MEDIA_ROOT}/;
|
||||||
|
|
||||||
}
|
}
|
||||||
# Comment the previous location and uncomment this one if you're storing
|
# Comment the previous location and uncomment this one if you're storing
|
||||||
|
@ -100,7 +100,7 @@ server {
|
||||||
# has been checked on API side
|
# has been checked on API side
|
||||||
# Set this to the same value as your MUSIC_DIRECTORY_PATH setting
|
# Set this to the same value as your MUSIC_DIRECTORY_PATH setting
|
||||||
internal;
|
internal;
|
||||||
alias ${MUSIC_DIRECTORY_PATH};
|
alias ${MUSIC_DIRECTORY_PATH}/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /staticfiles/ {
|
location /staticfiles/ {
|
||||||
|
|
Loading…
Reference in New Issue