Nginx 反代 SSE 60 秒断成 504 | 缓冲和读超时怎么分开查 陆零云 2026-11-10 20:20:59 51 0 自建 LLM 网关前面挂 Nginx,SSE 接口在 61 秒左右必断,浏览器 EventSource 收到 504 后自动重连,用户看到回答从头再吐一遍。后端日志显示请求还在跑,模型到 90 秒才生成完。 Nginx error.log 里是 upstream timed out (110: Connection timed out) while reading response header from upstream。注意是 header 不是 bo...