HTTP/5xx (Server Error)
502 Bad Gateway
The server, while acting as a gateway or proxy, received an invalid response from the inbound server it accessed.
❓ Why does this happen?
Upstream application crashed, Nginx/proxy cannot connect to Node.js backend port.
✅ How to fix it
Check if the upstream application process is running and responding on its designated port.