Skip to content

Commit

Permalink
Merge pull request #11231 from jivanpal/patch-1
Browse files Browse the repository at this point in the history
kesselb authored Nov 21, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 895b42a + c97e0ea commit 3c60313
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3c60313

Please sign in to comment.