From 3992b27e5317fb71e0b071cee26e9c2a3093a943 Mon Sep 17 00:00:00 2001 From: Jonathan Reinink Date: Wed, 18 Dec 2019 14:43:51 -0500 Subject: [PATCH] Update trust proxies for Heroku --- app/Http/Middleware/TrustProxies.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php index 7daf51f..695ae0e 100644 --- a/app/Http/Middleware/TrustProxies.php +++ b/app/Http/Middleware/TrustProxies.php @@ -12,12 +12,12 @@ class TrustProxies extends Middleware * * @var array */ - protected $proxies; + protected $proxies = '**'; /** * The headers that should be used to detect proxies. * * @var int */ - protected $headers = Request::HEADER_X_FORWARDED_ALL; + protected $headers = Request::HEADER_X_FORWARDED_AWS_ELB; }