Updated order in which headers for remote IP detection are inspected

This commit is contained in:
Alejandro Celaya 2020-01-24 21:19:40 +01:00
parent f5a30c4c2d
commit 8ec686f4e2

View File

@ -7,11 +7,11 @@ return [
'ip_address_resolution' => [ 'ip_address_resolution' => [
'headers_to_inspect' => [ 'headers_to_inspect' => [
'CF-Connecting-IP', 'CF-Connecting-IP',
'True-Client-IP',
'X-Real-IP',
'Forwarded',
'X-Forwarded-For', 'X-Forwarded-For',
'X-Forwarded', 'X-Forwarded',
'Forwarded',
'True-Client-IP',
'X-Real-IP',
'X-Cluster-Client-Ip', 'X-Cluster-Client-Ip',
'Client-Ip', 'Client-Ip',
], ],