Confirm that the proxy is healthy and that a request reaches a configured backend.
- Call
/livenessto verify the process. - Call
/readinessto verify that a backend is eligible. - Send a request and confirm that the response contains
BackendHost.
| Signal | Expected value | Meaning |
|---|---|---|
/liveness |
200 OK |
The proxy process is alive |
/readiness |
200 OK |
At least one backend can receive traffic |
BackendHost |
Backend URL | The request passed through the proxy |
Readiness is the required signal before sending a proxied request.
curl -i http://localhost:8000/liveness
curl -i http://localhost:8000/readiness
curl -i http://localhost:8000/startupWarning
A successful liveness response with failed readiness means the process is running but no backend is currently eligible.
Confirm both the final status and the proxy response headers.
curl -i http://localhost:8000/your/path
# Expect a BackendHost response header.Tip
Also inspect x-Request-Worker, x-Request-Queue-Duration, and x-Request-Process-Duration when diagnosing latency.
-
/livenessreturns200 OK. -
/readinessreturns200 OK. - The request returns the expected backend response.
-
BackendHostidentifies the selected backend. -
eventslog.jsoncontains the request event.
See Health Endpoints and Headers and Status Codes for exact behavior.