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
This commit is contained in:
PawsFunctions 2025-10-12 23:55:16 -04:00 committed by GitHub
parent 968183d216
commit f6ac8b2ed4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ server {
proxy_pass http://localhost:8080;
}
location /static/ {
location ^~ /static/ {
alias /app/staticfiles/;
}