After changing nameservers to digitalOcean and adding an a record to point to my ip address, i got the 502 badgateway error.ALso getting an error that says failed to connect to upstream.Everything was working untili a...
Hi everyone i was able to solve my error.Permission issues caused the error.I basically gave the www-data ownership of /var/www. Here is how i did it:
sudo chown -R www-data:www-data /var/www
Then restart Ngnx
I'm getting a 502 Bad Gateway to my django project.
Everything was working until i directed my domain name to my ip adress. Can anyone help?
SECRET_KEY = 'n'