I\'m trying to deploy a django project with NGINX and gunicorn. I keep getting 502 Bad Gateway. I\'ve been working nonstop on this for the past few days and I can\'t seem to
Assuming you have nginx proxying to port 8001, you want to do this:
gunicorn -b 127.0.0.1:8001 your_project_name.wsgi:application
You need to run that from your project folder (where the manage.py file is)