[Answer]-Nginx only partially serves static files for django app

1👍

You’re accessing directly the Django dev server, which is serving some of your static files. You might have left some of them behind if they are not checked in into version control, I don’t know…

Anyway, you must access Nginx, i.e. type in the address bar:

http://your.server.com

and not

http://your.server.com:8888

This way you should start seeing something in the Nginx access logs.

Also, remember running collectstatic:
https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#django-admin-collectstatic

Leave a comment