Skip to content

Commit

Permalink
fix: TrustProxies header updated
Browse files Browse the repository at this point in the history
  • Loading branch information
itsrafsanjani committed Jun 26, 2021
1 parent a34b919 commit b896c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Middleware/TrustProxies.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ class TrustProxies extends Middleware
*
* @var int
*/
protected $headers = Request::HEADER_X_FORWARDED_ALL;
protected $headers = Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_HOST | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO;
}

0 comments on commit b896c30

Please sign in to comment.