Fix docs for default headers used by RemoteIp. We only use X-Forwarded-For by default.
This commit is contained in:
parent
35ee759e74
commit
7aff2b47c5
2 changed files with 4 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue