Merge pull request #11320 from nextcloud/backport/11231/stable27

[stable27] reverse_proxy_configuration.rst: IPv6 CIDR is supported
This commit is contained in:
Josh Richards 2023-11-27 13:47:08 -05:00 committed by GitHub
commit dedb2e42e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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