mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-26 21:39:43 +02:00
Merge pull request #1549 from MODSetter/dev
fix(docker): add reverse proxy for zero sync auth context in Caddyfile
This commit is contained in:
commit
7093b4d4d0
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue