Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
reverse_proxy_configuration.rst: IPv6 CIDR support has been present s…
…ince v25.0.0-beta1

Signed-off-by: Jivan Pal <[email protected]>
  • Loading branch information
jivanpal authored and backportbot-nextcloud[bot] committed Nov 27, 2023
commit f8dd9820ff03f7ffb4822d7eb5e11664f8ff9d87
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,15 @@ configured in :file:`config/config.php`

Set the :file:`trusted_proxies` parameter as an array of:

* IPv4 addresses,
* IPv4 addresses
* IPv4 ranges in CIDR notation
* IPv6 addresses
* IPv6 ranges in CIDR notation

to define the servers Nextcloud should trust as proxies. This parameter
provides protection against client spoofing, and you should secure those
servers as you would your Nextcloud server.

.. note:: CIDR notation for IPv6 is currently work in progress and thus not
available as of yet.

A reverse proxy can define HTTP headers with the original client IP address,
and Nextcloud can use those headers to retrieve that IP address. Nextcloud uses
the de-facto standard header 'X-Forwarded-For' by default, but this can be
Expand Down