Rare 502s that nobody can reproduce
A Node.js API behind nginx or an ALB: Node.js closes its keep-alive connections after 5 s, the proxy keeps them for 60 s. On a test bench, 6 to 11 POSTs out of 460 end in a 502, nginx silently retries GETs, and the count drops to zero once the proxy closes first.