From 2e4959f947a14cdb9e78400b0a65650d08cb23b9 Mon Sep 17 00:00:00 2001 From: "DESKTOP-RTLN3BA\\$punk" Date: Fri, 26 Jun 2026 12:24:12 -0700 Subject: [PATCH] fix(docker): add reverse proxy for zero sync auth context in Caddyfile --- docker/proxy/Caddyfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/proxy/Caddyfile b/docker/proxy/Caddyfile index 534a8c2c2..abc5ff199 100644 --- a/docker/proxy/Caddyfile +++ b/docker/proxy/Caddyfile @@ -31,6 +31,10 @@ flush_interval -1 } + # Zero sync auth context is a backend (FastAPI) endpoint. More specific than + # /zero/*, so Caddy's matcher-specificity sort routes it here, not to zero-cache. + reverse_proxy /zero/context backend:8000 + # Zero accepts a single path-component base URL (Zero >= 0.6). # Preserve /zero so browser cacheURL can be ${SURFSENSE_PUBLIC_URL}/zero. reverse_proxy /zero/* zero-cache:4848