diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2014-04-25 18:26:21 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2014-04-25 18:26:21 +0200 |
commit | b867bb81e1ebcff701b5352edd10a143c1ec6996 (patch) | |
tree | 742906c53fa27ab152a9223ca49d6abae997ee72 /config | |
parent | 95c59146b8fdc8d727beaf617890cc1cbbcb6df3 (diff) | |
parent | 30e6b980a6a4f528f79407203761823b7b2c5683 (diff) |
Merge branch 'x-forwarded-whitelist' of github.com:tribut/roundcubemail into tribut-x-forwarded-whitelist
Diffstat (limited to 'config')
-rw-r--r-- | config/defaults.inc.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/defaults.inc.php b/config/defaults.inc.php index 7f65b9748..411e23047 100644 --- a/config/defaults.inc.php +++ b/config/defaults.inc.php @@ -355,9 +355,13 @@ $config['session_storage'] = 'db'; // Define any number of hosts in the form of hostname:port or unix:///path/to/socket.file $config['memcache_hosts'] = null; // e.g. array( 'localhost:11211', '192.168.1.12:11211', 'unix:///var/tmp/memcached.sock' ); -// check client IP in session athorization +// check client IP in session authorization $config['ip_check'] = false; +// List of trusted proxies +// X_FORWARDED_* and X_REAL_IP headers are only accepted from these IPs +$config['proxy_whitelist'] = array(); + // check referer of incoming requests $config['referer_check'] = false; |