summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2015-10-05 09:14:51 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2015-10-05 09:14:51 +0200
commit11574eaa90c1114a040af6154e578da5265dccf9 (patch)
treea9a93722a4c7c53b70f597385de2f490a326fd32
parentbc593f79214e85b971b48a980e43e9b4b64e7e93 (diff)
parent94f2121980082411ca8dc6cc38ef0149dc7c2554 (diff)
downloadnextcloud-server-11574eaa90c1114a040af6154e578da5265dccf9.tar.gz
nextcloud-server-11574eaa90c1114a040af6154e578da5265dccf9.zip
Merge pull request #19560 from owncloud/add-note-about-x-forwarded-for
Add notice about X-Forwarded-For
-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'),