diff options
author | Mark Felder <feld@FreeBSD.org> | 2020-10-06 17:29:56 -0500 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2020-10-06 17:29:56 -0500 |
commit | e08eb4aba07ce843f3f1149b8c70fb6b4d855c44 (patch) | |
tree | 341a7e72ee5d2656861a9a1e7f5d41228d1cdf15 /docs/configuration/cheatsheet.md | |
parent | 7a2ed2fc90dd16a5ef45c4dd44a6e09bba035299 (diff) | |
download | pleroma-e08eb4aba07ce843f3f1149b8c70fb6b4d855c44.tar.gz pleroma-e08eb4aba07ce843f3f1149b8c70fb6b4d855c44.zip |
Don't leak internal variables in the docs. They're useless to users.
Diffstat (limited to 'docs/configuration/cheatsheet.md')
-rw-r--r-- | docs/configuration/cheatsheet.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/configuration/cheatsheet.md b/docs/configuration/cheatsheet.md index 22333c4f8..7f1dc0fe6 100644 --- a/docs/configuration/cheatsheet.md +++ b/docs/configuration/cheatsheet.md @@ -426,7 +426,7 @@ This will make Pleroma listen on `127.0.0.1` port `8080` and generate urls start Available options: * `enabled` - Enable/disable the plug. Defaults to `false`. -* `headers` - A list of strings naming the `req_headers` to use when deriving the `remote_ip`. Defaults to `["x-forwarded-for"]`. +* `headers` - A list of strings naming the HTTP headers to use when deriving the true client IP address. Defaults to `["x-forwarded-for"]`. * `proxies` - A list of upstream proxy IP subnets in CIDR notation. Defaults to `[]`. IPv4 entries without a bitmask will be assumed to be /32 and IPv6 /128. * `reserved` - A list of reserved IP subnets in CIDR notation which should be ignored if found in `headers`. Defaults to `["127.0.0.0/8", "::1/128", "fc00::/7", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]`. |