docs(auth): warn about a wrong or too-wide trusted proxy list
CI / Format and clippy (pull_request) Successful in 6m12s
CI / Dependency audit (pull_request) Successful in 15s
CI / Docker image (build and smoke test) (pull_request) Successful in 9m3s
CI / Tests (Linux) (pull_request) Successful in 15m33s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas RayanandClaude Opus 5.5 committed 2026-11-05 07:01:16 -03:00
1 parent 9ef86ac425
commit 4f3091d963
4 files changed
+9 -2

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@ restart (`docker compose restart acaua`), which prints a new one.
|---|---|
| `local` | Plain HTTP, loopback only. `ACAUA_PUBLISH` must be `127.0.0.1` or `[::1]`; the daemon refuses to start if `ACAUA_PUBLISHED` is anything else. Outside a container it also refuses a non-loopback `--bind`; the image sets `ACAUA_RUNTIME=container`, where `ACAUA_PUBLISHED` is the control. |
| `tls` | The daemon terminates HTTPS. Set `ACAUA_TLS_CERT` and `ACAUA_TLS_KEY` and mount the certificate and key in the container with a compose override; `--bind` must be an `IP:port`. |
| `proxy` | An HTTPS reverse proxy sits in front. Set `ACAUA_TRUSTED_PROXIES` to its address as CIDRs. The daemon port must be reachable only by the proxy. A wrong value makes every client appear as one address, which removes the failure budget's protection and can share lockouts between users. |
| `proxy` | An HTTPS reverse proxy sits in front. Set `ACAUA_TRUSTED_PROXIES` to its address as CIDRs. The daemon port must be reachable only by the proxy. A wrong value makes every client appear as one address, which removes the failure budget's protection and can share lockouts between users. A too-wide value lets clients forge `X-Forwarded-For` and spend budgets or pose as a known address. |
**Limits worth knowing.** A bare `docker run -p 0.0.0.0:8787:8787` without
`ACAUA_PUBLISHED` is not detected by `local` mode; login still protects the