summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-10-04 13:30:06 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-10-05 09:10:07 +0200
commit94f2121980082411ca8dc6cc38ef0149dc7c2554 (patch)
treea9a93722a4c7c53b70f597385de2f490a326fd32 /config
parentbc593f79214e85b971b48a980e43e9b4b64e7e93 (diff)
downloadnextcloud-server-94f2121980082411ca8dc6cc38ef0149dc7c2554.tar.gz
nextcloud-server-94f2121980082411ca8dc6cc38ef0149dc7c2554.zip
Add notice about X-Forwarded-For
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 88d1a294622..2a2bca708a8 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'),