This commit is contained in:
Mateusz Gruszczyński committed 2026-11-15 17:51:19 +01:00
1 parent faedd249b8
commit 758cfd6274
25 files changed
+973 -39

No files matched your search

+2 -2
View File
@@ -113,7 +113,7 @@ The cache is controlled globally (`cache`) and enabled per vhost (`vhosts[].cach
| `default_ttl_seconds` | 0 | Only responses that the backend marks cacheable (`Cache-Control`, `Expires`) are stored, unless a rule sets a TTL. |
| `max_ttl_seconds` | 86400 | Caps any TTL, also from rules. |
| `varnish_grace_seconds` | 60 | A just-expired object is served while it is refreshed in the background. |
| `bypass_prefixes` | `/api/`, `/admin/`, `/login` | Never cached, regardless of headers. |
| `bypass_prefixes` | `/api`, `/admin`, `/login` | Never cached, regardless of headers. A prefix matches the path itself and everything below it (`/api` covers `/api` and `/api/…`, not `/apix`). |
| `static_ignore_cookies` | true | Static extensions (`static_extensions`) are cached even when the browser sends cookies. Turn off if your static files depend on the session. |
| `collapse_enabled` | true | Concurrent misses for the same URL wait for one backend request. |
| `stale_if_error_*` | timeouts, connection errors, 500/502/503/504 | Serve the last good copy when the backend fails. |
@@ -196,7 +196,7 @@ In a container, mount the file read-only (RustProxy never writes it) and keep `/
`GET /healthz` on `--health-listen` answers `200` while every vhost with backends has at least one healthy backend and `503` otherwise:
```json
{"status":"ok","mode":"headless","version":"0.38.0","revision":4,"uptime_seconds":120,
{"status":"ok","mode":"headless","version":"0.38.1","revision":4,"uptime_seconds":120,
"last_reload":{"ok":true,"at_unix":1794743660,"error":null},
"vhosts_without_healthy_backends":[],
"pools":[{"vhost":"app","healthy":3,"backends":3}]}