From e18f176759b6a3e052e2245e74181804b0d97b50 Mon Sep 17 00:00:00 2001 From: Simon Date: Sat, 21 Dec 2024 09:58:41 +0700 Subject: [PATCH] add paths for library static files --- docker_assets/nginx.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docker_assets/nginx.conf b/docker_assets/nginx.conf index c6b23e9a..438ca98d 100644 --- a/docker_assets/nginx.conf +++ b/docker_assets/nginx.conf @@ -38,6 +38,15 @@ server { uwsgi_pass localhost:8080; } + location /admin { + include uwsgi_params; + uwsgi_pass localhost:8080; + } + + location /static/ { + alias /app/staticfiles/; + } + root /app/static; index index.html;