Report this

What is the reason for this report?

Update of Static Files Not Working - Nginx

Posted on January 24, 2022

I have Django app and Nginx serving static files. I’ve transferred a static file to my server on droplet and restarted Nginx. I also restarted Gunicorn. I even rebooted my server – and I cannot seem to update the static file on the production-side. It works on my development server just fine. I’ve run python manage.py collectstatic and python manage.py runserver. Still no update of static file. It’s a .png file. Any ideas would be much appreciated.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.