diff --git a/src/docs/user/configuration/configuring_preamble.diviner b/src/docs/user/configuration/configuring_preamble.diviner index 5299afa27d..6b6b9da149 100644 --- a/src/docs/user/configuration/configuring_preamble.diviner +++ b/src/docs/user/configuration/configuring_preamble.diviner @@ -82,7 +82,7 @@ if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) { $real_address = your_custom_parsing_function($raw_header); - $_SERVER['REMOTE_ADDR'] = $raw_header; + $_SERVER['REMOTE_ADDR'] = $real_address; } ```