From f8e36c0dab1c28d63abf2ee625017cfcbb52df39 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 2 Nov 2026 21:42:35 +0100 Subject: api: support serving under a path prefix --- docs/operations.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/operations.md b/docs/operations.md index 7dcdb92..4f59208 100644 --- a/docs/operations.md +++ b/docs/operations.md @@ -130,6 +130,10 @@ passes it on as it comes. The dashboard's events have a keepalive every 15 s; `/ sends nothing while nothing changes, so nginx ends a quiet one after its `proxy_read_timeout` (60 s): raise that for it, or have clients reconnect. +The API may also be served under a path of its own (`location /continuum/ { +proxy_pass http://127.0.0.1:3000/; }`): its redirects (`Location`), the dashboard's +requests and the Swagger UI's are relative, so they stay under it. + ## What to alert on From the metrics (`GET /admin/stats` as Prometheus, [`measurements.md`](measurements.md)): -- cgit v1.3.1