woke up to monitoring alerts and this lovely page on every URL:

502 Bad Gateway
nginx
its a Docker Compose stack behind Nginx, and it seems to happen whenever someone uploads a big file... the error log mentions the upstream a lot but Im not sure if thats the cause or just a symptom. I wanna fix this properly instaed of adding a cron job that restarts services every hour... where do I start? ill happily post whatever logs would help narrow this down.