Add notice about X-Forwarded-For

This commit is contained in:
Lukas Reschke 2015-10-04 13:30:06 +02:00 committed by Morris Jobke
parent bc593f7921
commit 94f2121980
1 changed files with 3 additions and 0 deletions

View File

@ -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'),