diff options
| author | tv <tv@krebsco.de> | 2026-11-02 21:42:35 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-02 21:42:35 +0100 |
| commit | bd7e7be9bb4e6b84249d7c081b69a253b9c30f8a (patch) | |
| tree | ac60fdaf837da1843b1f7871c9e21e6202cce628 /docs | |
| parent | e2003d11e84f0392ee9366b36341fc4c6488088f (diff) | |
api: support serving under a path prefix
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/operations.md | 4 |
1 files changed, 4 insertions, 0 deletions
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)): |
