From b81521cab06cdf2e958632c5ad9afd0499e905dc Mon Sep 17 00:00:00 2001 From: Georg Krause <mail@georg-krause.net> Date: Mon, 14 Aug 2023 13:40:37 +0200 Subject: [PATCH] fix: Readd serving of static files --- templates/nginx.conf.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/nginx.conf.j2 b/templates/nginx.conf.j2 index e06cfd6..d907516 100644 --- a/templates/nginx.conf.j2 +++ b/templates/nginx.conf.j2 @@ -193,6 +193,11 @@ server { add_header Access-Control-Allow-Origin '*'; } + location /staticfiles/ { + # django static files + alias {{ funkwhale_static_path }}/; + } + location /manifest.json { return 302 /api/v1/instance/spa-manifest.json; } -- GitLab