Hello, I have updated my old Ubuntu server from version 14 to 16.
This also included a Django and Python update.
After restarting the server, I got a 502 error from Nginx, which I have discovered is being caused by G...
So, just for everyone to know, I finally solved this by editing /etc/init/gunicorn.conf
The file was assuming gunicorn was in my django folder, but in reality it is located at /usr/bin
So, the old file was: