Browse Source

using correct header to use "ALL" x-forwarded-* headers

Chris Fidao 6 years ago
parent
commit
e823795325
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Middleware/TrustProxies.php

+ 1 - 1
app/Http/Middleware/TrustProxies.php

@@ -19,5 +19,5 @@ class TrustProxies extends Middleware
      *
      * @var array
      */
-    protected $headers = Request::HEADER_X_FORWARDED_FOR;
+    protected $headers = Request::HEADER_X_FORWARDED_ALL;
 }