From b93fe2a491a22518d8ebdd6a98a8858bb1ab09ed Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Thu, 12 Jun 2025 15:39:24 +0100 Subject: [PATCH] Fix Django admin static files path --- TODO.md | 2 +- nginx.conf | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index bdb4b2b..951a895 100644 --- a/TODO.md +++ b/TODO.md @@ -8,7 +8,7 @@ - [x] Customisable Django `DJANGO_SECRET_KEY` and `DJANGO_SUPERUSER_PASSWORD` - [ ] Versioned recipe release - [x] `backup-bot-two` labels -- [ ] Fix Django admin static files +- [x] Fix Django admin static files ## Should diff --git a/nginx.conf b/nginx.conf index 08566cb..efa1b30 100644 --- a/nginx.conf +++ b/nginx.conf @@ -43,6 +43,9 @@ server { try_files $uri @proxy_to_docs_backend; } + location /static { + try_files $uri @proxy_to_docs_backend; + } # Proxy auth for collaboration server location /collaboration/ws/ {