1

Nginx, Django, uwsgi upstream prematurely closed connection

view story
linux-howto

http://serverfault.com – I have a django app running on Nginx and uwsgi. The app works fine usually, but I have noticed one thing that is whenever I restart my server and try to work on my app I am getting Nginx 404 error and when I am looking at the error logs I see this error [error] 2425#0: *1080 upstream prematurely closed connection while reading response header from upstream After when I refresh the same Nginx 404 error page the app is working. This happens whenever I have rebooted the server and visited the app for the 1st time that I am getting these error messages on various links but when I have visit (HowTos)