Skip to content

Commit cd523f2

Browse files
committed
Replace with new bit header
1 parent c5c520a commit cd523f2

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

config/trustedproxy.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,5 @@
5050
* The following are Symfony defaults, found in
5151
* \Symfony\Component\HttpFoundation\Request::$trustedHeaders
5252
*/
53-
'headers' => [
54-
\Illuminate\Http\Request::HEADER_CLIENT_IP => 'X_FORWARDED_FOR',
55-
\Illuminate\Http\Request::HEADER_CLIENT_HOST => 'X_FORWARDED_HOST',
56-
\Illuminate\Http\Request::HEADER_CLIENT_PROTO => 'X_FORWARDED_PROTO',
57-
\Illuminate\Http\Request::HEADER_CLIENT_PORT => 'X_FORWARDED_PORT',
58-
],
53+
'headers' => \Illuminate\Http\Request::HEADER_X_FORWARDED_ALL,
5954
];

0 commit comments

Comments
 (0)