changelog entry + bare-prefix redirect for ingester root_path
This commit is contained in:
parent
b78f0ae9ed
commit
90e9a6bc17
2 changed files with 10 additions and 0 deletions
|
|
@ -1,6 +1,10 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
## [Unreleased]
|
## [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 `<base href>`.
|
||||||
|
|
||||||
## [0.56.0] - 2026-06-09
|
## [0.56.0] - 2026-06-09
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
||||||
|
|
@ -342,6 +342,12 @@ single leading slash with no trailing slash (`ingester`, `/ingester/` and
|
||||||
before forwarding; for example, with nginx:
|
before forwarding; for example, with nginx:
|
||||||
|
|
||||||
```nginx
|
```nginx
|
||||||
|
# Redirect the bare prefix to the trailing-slash form so the dashboard's
|
||||||
|
# <base href> resolves correctly.
|
||||||
|
location = /ingester {
|
||||||
|
return 308 /ingester/;
|
||||||
|
}
|
||||||
|
|
||||||
location /ingester/ {
|
location /ingester/ {
|
||||||
rewrite ^/ingester/?(.*)$ /$1 break;
|
rewrite ^/ingester/?(.*)$ /$1 break;
|
||||||
proxy_pass http://127.0.0.1:8765;
|
proxy_pass http://127.0.0.1:8765;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue