diff --git a/app/Infrastructure/Http/Middleware/TrustProxies.php b/app/Infrastructure/Http/Middleware/TrustProxies.php index b3d08f4..7e34570 100644 --- a/app/Infrastructure/Http/Middleware/TrustProxies.php +++ b/app/Infrastructure/Http/Middleware/TrustProxies.php @@ -9,12 +9,6 @@ use Symfony\Component\HttpFoundation\Request; class TrustProxies extends Middleware { - protected $proxies; - - protected $headers = - Request::HEADER_X_FORWARDED_FOR | - Request::HEADER_X_FORWARDED_HOST | - Request::HEADER_X_FORWARDED_PORT | - Request::HEADER_X_FORWARDED_PROTO | - Request::HEADER_X_FORWARDED_AWS_ELB; + protected $proxies = '*'; + protected $headers = Request::HEADER_X_FORWARDED_AWS_ELB; }