Add rewrites for manifests
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2039>
This commit is contained in:
parent
ca9e3c7054
commit
f17fc0c7a6
|
@ -148,4 +148,8 @@ server {
|
|||
alias ${MUSIC_DIRECTORY_SERVE_PATH};
|
||||
add_header Access-Control-Allow-Origin '*';
|
||||
}
|
||||
|
||||
location /manifest.json {
|
||||
return 302 /api/v1/instance/spa-manifest.json;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -140,5 +140,9 @@ http {
|
|||
alias /music/;
|
||||
add_header Access-Control-Allow-Origin '*';
|
||||
}
|
||||
|
||||
location /manifest.json {
|
||||
return 302 /api/v1/instance/spa-manifest.json;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -113,4 +113,8 @@ server {
|
|||
alias ${MUSIC_DIRECTORY_PATH}/;
|
||||
add_header Access-Control-Allow-Origin '*';
|
||||
}
|
||||
|
||||
location /manifest.json {
|
||||
return 302 /api/v1/instance/spa-manifest.json;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue