Replace with new bit header
This commit is contained in:
parent
c5c520a562
commit
cd523f2489
1 changed files with 1 additions and 6 deletions
|
@ -50,10 +50,5 @@ return [
|
||||||
* The following are Symfony defaults, found in
|
* The following are Symfony defaults, found in
|
||||||
* \Symfony\Component\HttpFoundation\Request::$trustedHeaders
|
* \Symfony\Component\HttpFoundation\Request::$trustedHeaders
|
||||||
*/
|
*/
|
||||||
'headers' => [
|
'headers' => \Illuminate\Http\Request::HEADER_X_FORWARDED_ALL,
|
||||||
\Illuminate\Http\Request::HEADER_CLIENT_IP => 'X_FORWARDED_FOR',
|
|
||||||
\Illuminate\Http\Request::HEADER_CLIENT_HOST => 'X_FORWARDED_HOST',
|
|
||||||
\Illuminate\Http\Request::HEADER_CLIENT_PROTO => 'X_FORWARDED_PROTO',
|
|
||||||
\Illuminate\Http\Request::HEADER_CLIENT_PORT => 'X_FORWARDED_PORT',
|
|
||||||
],
|
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue