Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-10-04 14:30:06 +0300
committerMorris Jobke <hey@morrisjobke.de>2015-10-05 10:10:07 +0300
commit94f2121980082411ca8dc6cc38ef0149dc7c2554 (patch)
treea9a93722a4c7c53b70f597385de2f490a326fd32 /config
parentbc593f79214e85b971b48a980e43e9b4b64e7e93 (diff)
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'),