i just moved our Django app to a new server and set up nginx as the reverse proxy. Every request returns:

502 Bad Gateway
nginx
The app logs show nothing, as if no request ever arrives. Firewall is open, teh process is running, port 5000 is listening. What on earth is nginx talking to?
im used to deploying on a PaaS where this just works, sooo the proxy layer is new territory for me... could it be a perimssions thing, an address thing, or something Ive never even heard of?? any direction helps.
