fix(deploy): Serve staticfiles in bare metal deployments
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2665>
This commit is contained in:
parent
259fb1b61d
commit
3ee6ba6658
3 changed files with 9 additions and 0 deletions
|
|
@ -261,5 +261,10 @@ server {
|
|||
alias /usr/share/nginx/html/staticfiles/;
|
||||
}
|
||||
{% endif %}
|
||||
{% if not config.reverse_proxy and not config.inside_docker %}
|
||||
location /staticfiles/ {
|
||||
alias ${STATIC_ROOT}/;
|
||||
}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue