Pārlūkot izejas kodu

Improve description yet again

2232-double-delete
Mark Felder pirms 3 gadiem
vecāks
revīzija
b90eda3d8b
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +1
    -1
      config/description.exs
  2. +1
    -1
      docs/configuration/cheatsheet.md

+ 1
- 1
config/description.exs Parādīt failu

@@ -3270,7 +3270,7 @@ config :pleroma, :config_description, [
key: :proxies,
type: {:list, :string},
description:
"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."
"A list of upstream proxy IP subnets in CIDR notation from which we will parse the content of `headers`. Defaults to `[]`. IPv4 entries without a bitmask will be assumed to be /32 and IPv6 /128."
},
%{
key: :reserved,


+ 1
- 1
docs/configuration/cheatsheet.md Parādīt failu

@@ -427,7 +427,7 @@ Available options:

* `enabled` - Enable/disable the plug. Defaults to `false`.
* `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.
* `proxies` - A list of upstream proxy IP subnets in CIDR notation from which we will parse the content of `headers`. 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"]`.




Notiek ielāde…
Atcelt
Saglabāt