From 8ec686f4e2840692391ce21c6f7a7d86f180327e Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Fri, 24 Jan 2020 21:19:40 +0100 Subject: [PATCH] Updated order in which headers for remote IP detection are inspected --- config/autoload/client-detection.global.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/autoload/client-detection.global.php b/config/autoload/client-detection.global.php index 3c6fb8b2..a49b3d93 100644 --- a/config/autoload/client-detection.global.php +++ b/config/autoload/client-detection.global.php @@ -7,11 +7,11 @@ return [ 'ip_address_resolution' => [ 'headers_to_inspect' => [ 'CF-Connecting-IP', - 'True-Client-IP', - 'X-Real-IP', - 'Forwarded', 'X-Forwarded-For', 'X-Forwarded', + 'Forwarded', + 'True-Client-IP', + 'X-Real-IP', 'X-Cluster-Client-Ip', 'Client-Ip', ],