From 1313ec21092b5029c675cd437dadc49d03877424 Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Tue, 16 Jun 2026 02:11:32 +0530 Subject: [PATCH] fix(docker): disable response buffering for backend streaming --- docker/proxy/Caddyfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/proxy/Caddyfile b/docker/proxy/Caddyfile index 2553b8474..7a812a809 100644 --- a/docker/proxy/Caddyfile +++ b/docker/proxy/Caddyfile @@ -20,7 +20,9 @@ # Backend REST, streaming, connector OAuth, and messaging gateway endpoints. # FastAPI already serves /api/v1, so the path is forwarded unchanged. - reverse_proxy /api/v1/* backend:8000 + reverse_proxy /api/v1/* backend:8000 { + flush_interval -1 + } # Zero accepts a single path-component base URL (Zero >= 0.6). # Preserve /zero so browser cacheURL can be ${SURFSENSE_PUBLIC_URL}/zero.