0.38.3
This commit is contained in:
1 parent
8bdec5c757
commit
9e81cce271
23 files changed
+671
-20
No files matched your search
@@ -143,8 +143,24 @@ In **Docker vhosts**, select the service and set:
|
||||
| **Frontend protocols** | HTTP/1.1 is always available. Enable/disable HTTP/2 and HTTP/3 independently per Docker vhost (both enabled by default). H2/H3 require corresponding frontend listener support; switching them does not change the selected HTTP/HTTPS backend scheme. H3 disabled also removes its advertisement. |
|
||||
| **Force HTTPS / WebSockets** | Enable only when needed and when the right frontend listeners exist. |
|
||||
| **Cache / compression / transforms** | Optional; obey the global limits and privacy policy of the application. With **Cache** enabled, **Cache for this vhost** sets a default TTL (empty = global default) and the same cache rules editor as an ordinary vhost (templates, VCL import/preview, tester, *Ignore global cache rules*); see [Cache rules](CACHE.md#cache-rules-vcl-style). Stored as `cache_default_ttl_seconds`, `cache_rules` and `cache_ignore_global_rules` on the assignment.
|
||||
| **Security and access** | Everything an internet-facing app usually needs, without creating an ordinary vhost: **HTTP Basic Auth** (see below), **HTTP methods** (allow only / block listed, the same method picker as vhosts), **per-client IP rate limit** (requests per window and burst; exceeded requests get `429`), **country access** (block or allow only listed countries via GeoIP; country rules of ACL profiles also apply), **security headers** (HSTS with max-age and includeSubDomains, `X-Content-Type-Options: nosniff`, `X-Frame-Options`, `Referrer-Policy`) and **Use verified Cloudflare client IP** when the app is behind Cloudflare. The summary line of the section shows what is active. Stored as `method_policy`, `rate_limit`, `security_headers` and `cloudflare_client_ip`; unused options are not stored. Docker apps have no login of their own; to require one, publish the app through an ordinary vhost with HTTP Basic Auth, forward auth or OIDC. |
|
||||
| **Diagnostic headers** | `Server-Timing`, the selected backend (`X-Rust-Proxy-Backend`) and the backend time, for testing; keep them off in production. Stored as `timing_headers`, `backend_header`, `backend_timing_header`. |
|
||||
| **Health / ACL / timeouts** | **Access control** shows the agent default ACL profiles pre-selected (*Agent default in use: …*). Unchecking or changing them overrides the default for this service only; leaving them as they are keeps following the agent default. **Public vhost (no agent default ACL)** publishes the service without the agent default profiles (`inherit_acl_profiles: false`) and disables the per-app ACL; global block/allow rules still apply. Up to eight reusable ACL profiles per app; selected profiles appear as removable badges and the summary line shows the effective state. Optional inline ACL remains independently enforced. Explicit denies and country blocks beat merged allows. Test allowed and blocked clients. |
|
||||
|
||||
### HTTP Basic Auth for Docker apps
|
||||
|
||||
**Require login (HTTP Basic Auth)** in **Security and access** protects one Docker app with its own users, exactly like Basic Auth on an ordinary vhost: realm, *Require HTTPS for Basic Auth*, *Forward verified Authorization to the backend* and up to 64 users. Passwords are hashed with Argon2id when you press **Apply changes**; only the hashes are stored (`basic_auth` on the assignment), an empty password field keeps the stored one. Wrong passwords are rate-limited per client like on vhosts.
|
||||
|
||||
- Over plain HTTP (no TLS listener) switch off *Require HTTPS for Basic Auth*, otherwise every login is refused.
|
||||
- Switching the login off keeps the users, so it can be switched on again without new passwords.
|
||||
- Forward auth (Authelia, authentik, Tinyauth) and OIDC are not available for Docker apps: OIDC needs a redirect URL registered per hostname at the identity provider. Publish such an app as an ordinary vhost when it needs them.
|
||||
|
||||
### Published apps and long lists
|
||||
|
||||
**Published apps** in the toolbar opens one list of every published Docker app on all agents: address with aliases (the address opens the app), container and image, agent, backend address and live status (up, down, checking, missing). The search filters by address, container, image or agent; **Configure** closes the list, expands the right agent and Compose group, opens the service editor and scrolls to it.
|
||||
|
||||
**Collapse services** in each agent heading hides that agent's service list and leaves a one-line summary (*N services hidden, M published*). The choice is remembered in the browser. Searching shows the matching services of collapsed agents too, and **Configure** in Published apps expands the agent.
|
||||
|
||||
To deliberately assign a domain not covered by any of the agent's **selected certificates**, enable **Accept certificate/domain mismatch** immediately below **Backend host IP** in the per-service editor and confirm the risk. This records `allow_certificate_mismatch: true` on that publication only. Without consent, the server rejects the incompatible mapping. The client browser may still reject the TLS handshake; a matching SAN certificate is strongly preferred. The agent's own outbound TLS fingerprint validation is unaffected.
|
||||
|
||||
Use the per-service **Publish** on/off switch to expose or remove the generated Vhost; toggling it saves immediately. Test the resulting hostname with **Open app**. Edits to an already published service use its own **Apply changes** action; switching Publish off removes the proxy publication but does not stop the Docker container. Hidden rows in the page are only a browser view preference, not a security policy.
|
||||
|
||||
+1
-1
@@ -94,7 +94,7 @@ RustProxy is a single service that combines a reverse proxy, a static/PHP web se
|
||||
- Headless mode without the panel: configuration from a read-only JSON file, catch-all `*` host, reload by `SIGHUP`/`systemctl reload` and a `/healthz` endpoint ([Headless mode](HEADLESS.md)).
|
||||
- Revision history with diff and one-click restore.
|
||||
- Encrypted full backups and validated offline restore; encrypted Secret Store for credentials.
|
||||
- Docker and Podman discovery through a separate agent: publish containers as Vhosts with one switch, one-time agent provisioning codes, publishing from container labels, multiple domains and certificate lists per agent, host and container diagnostics with history, Docker alerts, Prometheus host metrics and optional Docker Overview cards; the Grafana dashboard covers several RustProxy servers.
|
||||
- Docker and Podman discovery through a separate agent: publish containers as Vhosts with one switch, one-time agent provisioning codes, publishing from container labels, multiple domains and certificate lists per agent, per-app HTTP Basic Auth, method policy, rate limit, country access, security and diagnostic headers, a searchable list of published apps, host and container diagnostics with history, Docker alerts, Prometheus host metrics and optional Docker Overview cards; the Grafana dashboard covers several RustProxy servers.
|
||||
- Nginx Proxy Manager import with a dry-run plan.
|
||||
- Managed install/update scripts with rollback, DEB/RPM packages, Docker image and an OPNsense plugin.
|
||||
- Panel in English and Polish, light and dark themes, adjustable density and corner style, plus a default-on stable dialog position option for tabbed editors.
|
||||
|
||||
+1
-1
@@ -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.2","revision":4,"uptime_seconds":120,
|
||||
{"status":"ok","mode":"headless","version":"0.38.3","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}]}
|
||||
|
||||
Reference in new issue
Block a user