Merge pull request #1549 from MODSetter/dev

fix(docker): add reverse proxy for zero sync auth context in Caddyfile
This commit is contained in:
Rohan Verma 2026-06-26 12:26:13 -07:00 committed by GitHub
commit 7093b4d4d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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