mirror of
https://github.com/telemt/telemt.git
synced 2026-05-23 20:21:44 +03:00
Merge 06eb112efd into 6d5a1a29df
This commit is contained in:
@@ -1974,7 +1974,7 @@ This document lists all configuration keys accepted by `config.toml`.
|
||||
## "cfg-server-proxy_protocol_trusted_cidrs"
|
||||
- `proxy_protocol_trusted_cidrs`
|
||||
- **Constraints / validation**: `IpNetwork[]`.
|
||||
- If omitted, defaults to trust-all CIDRs (`0.0.0.0/0` and `::/0`).
|
||||
- If omitted, defaults to an empty list and incoming PROXY headers are rejected.
|
||||
- If explicitly set to an empty array, all PROXY headers are rejected.
|
||||
- **Description**: Trusted source CIDRs allowed to provide PROXY protocol headers (security control).
|
||||
- **Example**:
|
||||
@@ -3328,4 +3328,3 @@ If your backend or network is very bandwidth-constrained, reduce cap first. If p
|
||||
password = "secret"
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user