502 Bad Gateway After Changing Folder Ownership
I’m a bit of an amateur at websites so I used DigitalOcean’s One-Click App for Django. I got everything working and decided to create a new user and give them ownership (as per this tutorial: https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-18-04) of the /home/ folder.
Since then I’m getting a 502 Bad Gateway when I try to connect to the website. From the reading I’ve done, I’m pretty sure that it’s something to do with gunicorn, but I seem to have messed it up badly.
How can I debug this problem and get my website back up and running?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×