79193605

Date: 2024-11-15 18:48:45
Score: 1.5
Natty:
Report link

If you are running Django + gunicorn with NGINX or Caddy and you are sure your configurations are correct, one thing to check is that you are connecting to NGINX / Caddy and not gunicorn itself.

i.e. If you are connected to localhost:8000/admin, you are connected to gunicorn and you will not get CSS / static files. Connect instead to localhost/admin

Coming back to a django project after a few months away and I was bashing my head against this for hours.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tony