not gonna lie this is driving me nuts getting 502 Bad Gateway wehnever someone uploads a big file, and it's starting to cost us orders.

502 Bad Gateway
nginx
the setup is Caddy proxying to a Python API on a small VPS 😭 CPU graphs look normal, disk isnt full. the proxy itself is clearly alive cuz it serves teh error page. so something beihnd it is dying or not answering, but what? id appreciate a checklist from someone who has hnuted these before. detailed answers welcome, Im comfortable on teh command line. what am i doing wrong??
