From 94f2121980082411ca8dc6cc38ef0149dc7c2554 Mon Sep 17 00:00:00 2001 From: Lukas Reschke <lukas@owncloud.com> Date: Sun, 4 Oct 2015 13:30:06 +0200 Subject: [PATCH] Add notice about X-Forwarded-For --- config/config.sample.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/config.sample.php b/config/config.sample.php index 88d1a29462..2a2bca708a 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -1087,6 +1087,9 @@ $CONFIG = array( /** * List of trusted proxy servers + * + * If you configure these also consider setting `forwarded_for_headers` which + * otherwise defaults to `HTTP_X_FORWARDED_FOR` (the `X-Forwarded-For` header). */ 'trusted_proxies' => array('203.0.113.45', '198.51.100.128'), -- GitLab