haiku.rag/docs
Tres Seaver b78f0ae9ed
feat(ingester): serve control plane under a configurable base path
Add `ingester.api.root_path` so the HTTP control plane (dashboard + API)
can be reverse-proxied behind a sub-path (e.g. /ingester/) on a shared
origin, instead of needing nginx sub_filter URL-rewriting.

- APIConfig.root_path: normalized ('', or single leading slash, no trailing
  slash) via a field_validator; validate_assignment so CLI overrides
  normalize the same way as config-file values.
- Forwarded to FastAPI(root_path=) and uvicorn.Config(root_path=) so
  OpenAPI/docs links are prefix-aware.
- Dashboard route injects a <base href> matching root_path; all dashboard
  fetches are now base-relative, so they resolve under the prefix while
  staying identical at the root.
- `serve --root-path` CLI flag.
- Docs: "Behind a reverse proxy" section with an nginx example.

Closes #431

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 23:02:43 -04:00
..
configuration Bound analysis execute_code calls to avoid request-limit nulls 2026-06-06 14:52:05 +03:00
img Add ingester screenshot 2026-05-27 15:53:01 +03:00
skills Bound analysis execute_code calls to avoid request-limit nulls 2026-06-06 14:52:05 +03:00
stylesheets Landing page hero with TUI screen recording 2026-05-20 16:56:25 +03:00
apps.md docs: add chat page, restructure nav, reorder sections 2026-05-20 14:27:16 +03:00
benchmarks.md Order benchmarks docs ORB, T², Wix 2026-06-08 11:51:21 +03:00
changelog.md Improve documentation 2025-11-28 13:10:03 +02:00
chat.md docs: rebuild Skills section, drop pitch prose 2026-05-20 14:27:16 +03:00
cli.md Add rebuild --set-embedder to reconcile embedder identity 2026-06-05 10:42:15 +03:00
custom-pipelines.md Always use the Store-owned embedder 2026-05-29 11:36:53 +03:00
development.md Docs 2026-04-24 14:42:52 +03:00
index.md Landing page hero with TUI screen recording 2026-05-20 16:56:25 +03:00
ingester.md feat(ingester): serve control plane under a configurable base path 2026-06-09 23:02:43 -04:00
installation.md Docker & docs updates 2026-05-26 11:44:45 +03:00
mcp.md Add --host, --port to ingester cli, update docker compose example 2026-05-26 11:44:45 +03:00
overview.md Docker & docs updates 2026-05-26 11:44:45 +03:00
python.md Add HaikuRAG.import_documents for batch document import 2026-06-09 10:23:37 +03:00
remote-processing.md Docs update 2026-05-27 13:22:35 +03:00
tools.md docs: rebuild Skills section, drop pitch prose 2026-05-20 14:27:16 +03:00
tuning.md Docs update 2026-05-27 13:22:35 +03:00
tutorial.md docs: rebuild Skills section, drop pitch prose 2026-05-20 14:27:16 +03:00