Added more headers to inspect while looking for the remote IP address

This commit is contained in:
Alejandro Celaya
2019-08-01 18:27:43 +02:00
parent 6682b52159
commit 9cb316bdfa
3 changed files with 73 additions and 4 deletions

View File

@@ -0,0 +1,19 @@
<?php
declare(strict_types=1);
return [
'ip_address_resolution' => [
'headers_to_inspect' => [
'Forwarded',
'X-Forwarded-For',
'X-Forwarded',
'X-Cluster-Client-Ip',
'Client-Ip',
'X-Real-IP',
'CF-Connecting-IP',
'True-Client-IP',
],
],
];