mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-23 21:27:44 +03:00
26 lines
493 B
PHP
26 lines
493 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
return [
|
|
|
|
'ip_address_resolution' => [
|
|
'headers_to_inspect' => [
|
|
'CF-Connecting-IP',
|
|
'True-Client-IP',
|
|
'X-Real-IP',
|
|
'Forwarded',
|
|
'X-Forwarded-For',
|
|
'X-Forwarded',
|
|
'X-Cluster-Client-Ip',
|
|
'Client-Ip',
|
|
],
|
|
],
|
|
|
|
'host_resolution' => [
|
|
'headers_to_inspect' => [
|
|
'Host',
|
|
'X-Forwarded-Host',
|
|
],
|
|
],
|
|
|
|
];
|