Django-Gunicorn-Nginx Why do I get an Internal server error every time I restart Gunicorn?
I set up a droplet on digital ocean using the one-click installer. I host my code on a git repo. and I use git pull to merge changes, followed by service gunicorn reload to restart gunicorn. The problem is that everytime I do this and try to visit my site I get an 'internal server error' messages, and after I refresh once or twice the actual page loads.
It is strange because I get the message even if I wait for a while (15 minutes) before visiting the web page, so I'm not sure if I get this because gunicorn was still restarting or for some other reason. Any hints on what might be going on ?