1👍
✅
Nginx isn’t able to connect to your backend (gunicorn) or gunicorn is refusing the connection. You provided no details about the configuration so that’s all the help you’ll get. You are correct that the application code has nothing to do with it. It’s a configuration error on your part.
- [Django]-UserWarning: Module _mysql was already imported from /usr/lib/pymodules/python2.6/_mysql.so
Source:stackexchange.com