fix(deploy): Serve staticfiles in bare metal deployments

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2665>
This commit is contained in:
Georg Krause 2023-12-04 15:56:12 +00:00 committed by Kasper Seweryn
commit 3ee6ba6658
3 changed files with 9 additions and 0 deletions

View file

@ -192,4 +192,7 @@ server {
return 302 ${FUNKWHALE_PROTOCOL}://${FUNKWHALE_HOSTNAME}/api/v1/instance/spa-manifest.json;
}
location /staticfiles/ {
alias ${STATIC_ROOT}/;
}
}