Skip to content

Commit

Permalink
docs: trusted_proxies support IPv6 ranges
Browse files Browse the repository at this point in the history
Support for IPv6 ranges was added by #32615

Signed-off-by: Daniel Kesselberg <[email protected]>
  • Loading branch information
kesselb committed Jan 3, 2023
1 parent 961dcdd commit a1fef7b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions config/config.sample.php
Original file line number Diff line number Diff line change
Expand Up @@ -2027,9 +2027,7 @@
* - IPv4 addresses, e.g. `192.168.2.123`
* - IPv4 ranges in CIDR notation, e.g. `192.168.2.0/24`
* - IPv6 addresses, e.g. `fd9e:21a7:a92c:2323::1`
*
* _(CIDR notation for IPv6 is currently work in progress and thus not
* available yet)_
* - IPv6 ranges in CIDR notation, e.g. `2001:db8:85a3:8d3:1319:8a20::/95`
*
* When an incoming request's `REMOTE_ADDR` matches any of the IP addresses
* specified here, it is assumed to be a proxy instead of a client. Thus, the
Expand Down Expand Up @@ -2288,9 +2286,9 @@
*
* For instance, if the phone property should default to the private scope
* instead of the local one:
*
*
* ::
*
*
* [
* \OCP\Accounts\IAccountManager::PROPERTY_PHONE => \OCP\Accounts\IAccountManager::SCOPE_PRIVATE
* ]
Expand Down

0 comments on commit a1fef7b

Please sign in to comment.