From 90e9a6bc179c2cea05ac10f81ca53f75be4c40bb Mon Sep 17 00:00:00 2001 From: Yiorgis Gozadinos Date: Thu, 11 Jun 2026 09:30:22 +0300 Subject: [PATCH] changelog entry + bare-prefix redirect for ingester root_path --- CHANGELOG.md | 4 ++++ docs/ingester.md | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 10235113..722f211b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog ## [Unreleased] +### Added + +- `ingester.api.root_path` (and `haiku-ingester serve --root-path`) serves the control plane under a sub-path for reverse-proxying; forwarded to FastAPI/uvicorn `root_path` and reflected in the dashboard's ``. + ## [0.56.0] - 2026-06-09 ### Added diff --git a/docs/ingester.md b/docs/ingester.md index e06629cc..1e48d77b 100644 --- a/docs/ingester.md +++ b/docs/ingester.md @@ -342,6 +342,12 @@ single leading slash with no trailing slash (`ingester`, `/ingester/` and before forwarding; for example, with nginx: ```nginx +# Redirect the bare prefix to the trailing-slash form so the dashboard's +# resolves correctly. +location = /ingester { + return 308 /ingester/; +} + location /ingester/ { rewrite ^/ingester/?(.*)$ /$1 break; proxy_pass http://127.0.0.1:8765;