Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/proxy/Caddyfile.aio.ce
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
servers {
max_header_size 25MB
client_ip_headers X-Forwarded-For X-Real-IP
trusted_proxies static {$TRUSTED_PROXIES:0.0.0.0/0}
trusted_proxies static {$TRUSTED_PROXIES:private_ranges}
}
}

Expand Down
1 change: 1 addition & 0 deletions deployments/aio/community/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ docker run --name myaio --rm -it \
#### Network & Protocol

- `SITE_ADDRESS`: Server bind address (default: `:80`)
- `TRUSTED_PROXIES`: Proxies whose `X-Forwarded-For` header the bundled proxy trusts; the client IP from it is used for rate limiting (default: `private_ranges`). Behind a load balancer or CDN on public addresses, add its ranges, space-separated (e.g. `-e TRUSTED_PROXIES="private_ranges 203.0.113.0/24"`). Do not set it to `0.0.0.0/0`: any client could then forge its IP and bypass the sign-in rate limit.

#### Security & Secrets

Expand Down
Loading