From f6ac8b2ed40fa41bcaa4241353ca3c67ed654618 Mon Sep 17 00:00:00 2001 From: PawsFunctions Date: Sun, 12 Oct 2025 23:55:16 -0400 Subject: [PATCH] Fixed: Django Admin page CSS problem #1043 Updated Nginx config to change path priority from 4 to 2. This will affect only the /static/ path. Everything has been tested and is working fine, as we are not using /static/ for another purpose. more info about change : https://stackoverflow.com/a/45129826 Fixed: Django Admin page CSS problem #1043 --- docker_assets/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker_assets/nginx.conf b/docker_assets/nginx.conf index 8c4a15ec..4ef37cca 100644 --- a/docker_assets/nginx.conf +++ b/docker_assets/nginx.conf @@ -43,7 +43,7 @@ server { proxy_pass http://localhost:8080; } - location /static/ { + location ^~ /static/ { alias /app/staticfiles/; }