Files
Felix021 fbb4ec59da MUL-6610: fix(web): proxy /health to the backend in the runtime rewrite (#7467)
* fix(web): proxy /health to the backend in the runtime rewrite

`multica setup self-host` probes {server-url}/health and treats any
non-200 as "Server not reachable". The backend serves the path, but the
web image's runtime rewrite only covered /docs, /v1, /api, /uploads, /ws
and /auth, so a same-origin reverse proxy that forwards everything to the
web image left the probe 404ing at the Next.js router — setup failed
against a healthy stack unless the proxy also routed /health to the
backend explicitly. Add the exact path next to /ws, in both the runtime
rewrite and the next.config.ts dev rewrites.

* test(web): cover /health at the proxy layer, guard /healthz and /readyz
2026-08-24 13:15:22 +08:00
..