v0.39.0
This commit is contained in:
1 parent
5e43752041
commit
15425fb803
34 files changed
+1423
-89
No files matched your search
@@ -177,6 +177,19 @@ For each published Docker Vhost, **Live logs** appears directly beside **Open ap
|
||||
|
||||
These are **HTTP requests processed by RustProxy**, not the application's Docker container stdout/stderr. The viewer uses RustProxy's bounded in-memory live request history; requests appear when completed, not as a container terminal stream. Stored Docker stdout/stderr are not retrieved from the agent. The dialog is administrator-only, and no Docker log-reading endpoint is exposed.
|
||||
|
||||
### Cache and Traffic scopes for generated Docker Vhosts
|
||||
|
||||
The **Cache** and **Traffic** pages list **all effectively compiled reverse-proxy vhosts**, including active Docker publications; they do not limit the selector to Vhosts saved in the ordinary-Vhosts configuration. Selectors display **container name — hostname (Docker: agent name)** when observed, and retain the stable generated Vhost ID as the underlying API value and tooltip. A temporarily missing container falls back to its saved hostname; it is not shown as an opaque Docker hash in the normal selector. Cache scope counters, per-service effective cache settings, object lists, purge and invalidation use the same generated ID. The full API responses include `vhosts[].label`, `vhosts[].docker` and `catalog_version`; the last changes when Docker publication inventory changes even if the persisted configuration `revision` does not. Polling clients use `catalog_version` to reload the full scope list. If a label-only publication disappears while selected, the Cache/Traffic panel resets the invalid scope to **All Vhosts** instead of repeatedly polling a now-unknown ID.
|
||||
|
||||
### If a Docker container temporarily disappears
|
||||
|
||||
- **Manually published service**: its assignment (`service_key`, hostname, cache/VCL rules, security options, certificate/listener selection and other per-app settings) is stored in RustProxy configuration; the absence of a Docker inventory entry **does not delete it**. A newly compiled generated Vhost can have no usable backend and return **503** during the gap. Once the same service key and network binding reappear and the agent reports them, the assignment is used again automatically.
|
||||
- **Publish-from-labels only**: the generated publication is derived from the *current* agent inventory and container labels; when the service disappears from a successful inventory it is absent from the effective configuration. It will be generated again if the service reappears with a matching, valid label configuration and no hostname conflict. There is no saved per-service manual state unless **Apply changes** was used (which converts it to a persisted manual assignment).
|
||||
- **Agent temporarily unreachable**: the Docker polling layer can retain its last successful inventory; a failed poll is not proof that a container disappeared. Do not use missing status alone to delete an assignment.
|
||||
- **Identity changes**: changing a Compose/service name, key, or selected publication labels can yield a *different* service key, so automatic recovery of a manually saved mapping is not guaranteed until you select the correct service again. Stable service names and persistent manual assignments are preferable when keeping settings matters.
|
||||
|
||||
These guarantees concern **configuration**, not persistence of in-memory Traffic history, cache HIT counters or old cached objects across unrelated process restarts. Back up RustProxy's persistent configuration separately.
|
||||
|
||||
### Per-vhost traffic statistics
|
||||
|
||||
Every published vhost on an enabled Docker agent has a **Traffic statistics** disclosure directly below **Configure vhost**. It starts collapsed, uses the same six status/requests/active/errors/latency/traffic-per-second tiles and **Lifetime request rate** chart as an ordinary Vhost, and can be opened individually. The **Expand all statistics / Collapse all statistics** toolbar button toggles every published Docker vhost at once (including rows hidden by search or the local Hide action). The chosen disclosure state survives live list refreshes during the current panel session; it resets on sign-out.
|
||||
|
||||
Reference in new issue
Block a user