diff options
author | Mark Felder <feld@FreeBSD.org> | 2020-10-06 15:47:11 -0500 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2020-10-06 15:47:11 -0500 |
commit | 7aff2b47c56c5b41620445b7d49c429eb1866164 (patch) | |
tree | a2f943cad3901ab972879827bbf7aa3f2e3be7f3 /config | |
parent | 35ee759e74d0737598311d8e4245168f981812d3 (diff) | |
download | pleroma-7aff2b47c56c5b41620445b7d49c429eb1866164.tar.gz |
Fix docs for default headers used by RemoteIp. We only use X-Forwarded-For by default.
Diffstat (limited to 'config')
-rw-r--r-- | config/description.exs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/description.exs b/config/description.exs index ac3dfbb2b..f6331dd30 100644 --- a/config/description.exs +++ b/config/description.exs @@ -3262,8 +3262,9 @@ config :pleroma, :config_description, [ %{ key: :headers, type: {:list, :string}, - description: - "A list of strings naming the `req_headers` to use when deriving the `remote_ip`. Order does not matter. Default: `~w[forwarded x-forwarded-for x-client-ip x-real-ip]`." + description: """ + A list of strings naming the `req_headers` to use when deriving the `remote_ip`. Default: `["x-forwarded-for"]`. + """ }, %{ key: :proxies, |