This commit is contained in:
Mateusz Gruszczyński committed 2026-11-23 11:07:13 +01:00
1 parent 27b640a0df
commit aa27866531
46 files changed
+3368 -189

No files matched your search

+2 -2
View File
@@ -79,7 +79,7 @@ The smallest useful file is a single vhost ([`examples/headless-minimal.json`](.
```
- Up to 32 backends per vhost. `allow_private` is required for loopback and private addresses.
- `algorithm`: `round_robin`, `least_connections` (default), `least_traffic`, `adaptive` or `ip_hash`; `sticky` sessions are configured as in [Vhosts](VHOSTS.md).
- `algorithm`: `round_robin`, `least_connections` (default), `least_traffic`, `adaptive`, `random`, `hash` (with a `hash` object: `source`, `name`, `path_depth`, `ignore_case`, `balance_factor`, `fallback`) or `ip_hash`; `sticky` sessions are configured as in [Vhosts](VHOSTS.md). Routes can set `backend_ids` and their own `load_balancing`; see [Load balancing](LOAD_BALANCING.md).
- By default requests with cookies or `Authorization` and responses with `Set-Cookie` are not cached, so enabling the cache for an application with logins only stores public responses and static files.
- With an HTTPS listener and the `*` host, clients that use an IP address or an unknown name receive the default certificate (self-signed unless `tls.default_certificate` points to your own).
@@ -383,7 +383,7 @@ curl -s http://127.0.0.1:9091/certificates | jq '.certificates[] | {id, source,
| Health checks / outlier detection | `health_check` (active), `passive_health` (ejection after real failures), `slow_start_seconds` |
| Retry policy | `retry` (`max_retries`, connect errors, timeouts, statuses) |
| Circuit breakers (`max_requests`, `max_pending_requests`) | backend `max_concurrent_requests` + `queue_timeout_ms`, vhost `rate_limit` |
| Sticky sessions / hash policy | `sticky`, `ip_hash` |
| Sticky sessions / hash policy | `sticky`, `ip_hash`, `hash` (consistent: path, header, cookie, query, IP; `balance_factor` for bounded load) |
| Admin `/ready`, `/clusters`, `/certs` | `/healthz` (pools), `/certificates` on `--health-listen`; Prometheus `/metrics` |
| Hot restart | `SIGHUP` reload without dropping connections; listener changes need a restart |