From cd523f248924895c5c3a0b3644ca8f705add7f43 Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Thu, 10 May 2018 16:47:39 -0400 Subject: [PATCH] Replace with new bit header --- config/trustedproxy.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/config/trustedproxy.php b/config/trustedproxy.php index c60aa6a06..7df17d261 100644 --- a/config/trustedproxy.php +++ b/config/trustedproxy.php @@ -50,10 +50,5 @@ return [ * The following are Symfony defaults, found in * \Symfony\Component\HttpFoundation\Request::$trustedHeaders */ - 'headers' => [ - \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', - ], + 'headers' => \Illuminate\Http\Request::HEADER_X_FORWARDED_ALL, ];