generated from bisco/codex-bootstrap
feat: add backend health checks
This commit is contained in:
+4
-1
@@ -24,7 +24,7 @@ Dynamic configuration changes under `config/dynamic/` are watched by Traefik and
|
||||
|
||||
## Health checks
|
||||
|
||||
The container healthcheck runs:
|
||||
The Traefik container healthcheck runs:
|
||||
|
||||
```bash
|
||||
traefik healthcheck --ping
|
||||
@@ -36,6 +36,8 @@ Check health with:
|
||||
docker compose ps
|
||||
```
|
||||
|
||||
Backend services also define Traefik load-balancer health checks in each file under `config/dynamic/`. HTTP checks call `/` with the configured hostname; TCP checks verify that the local TLS port accepts connections.
|
||||
|
||||
## Logs
|
||||
|
||||
Traefik logs to container stdout:
|
||||
@@ -58,3 +60,4 @@ For HTTP on port `80`, update the HTTP services in the relevant site file under
|
||||
- Backend certificates and renewal jobs must be monitored on each backend.
|
||||
- SNI routing depends on clients sending the expected hostname during the TLS handshake. Clients that connect by IP address or omit SNI will not match hostname-specific routers.
|
||||
- Public port `80/tcp` forwards all HTTP paths for configured hostnames to the matching backend.
|
||||
- TCP health checks verify reachability, not certificate validity or application-level correctness.
|
||||
|
||||
Reference in New Issue
Block a user