generated from bisco/codex-bootstrap
feat: add backend health checks
This commit is contained in:
@@ -39,6 +39,17 @@ docker compose logs traefik
|
||||
|
||||
Confirm that `config/traefik.yml` is mounted and that the ping entrypoint is enabled.
|
||||
|
||||
### Backend is unhealthy
|
||||
|
||||
Check Traefik logs and verify that the local backend ports respond from the host:
|
||||
|
||||
```bash
|
||||
curl -H 'Host: lab.younerd.org' http://127.0.0.1:8080/
|
||||
openssl s_client -connect 127.0.0.1:8443 -servername lab.younerd.org
|
||||
```
|
||||
|
||||
Repeat with the hostname and ports from the relevant file under `config/dynamic/`.
|
||||
|
||||
### Clients cannot connect
|
||||
|
||||
Check that the host is listening on `80/tcp` and `443/tcp`, firewall rules allow inbound traffic, and backend IP addresses are reachable from Traefik. For services bound to host loopback, configure backends as `127.0.0.1:PORT`.
|
||||
|
||||
Reference in New Issue
Block a user