Skip to content

Commit

Permalink
- Change headers value on trust proxies middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
ianriizky committed Jan 31, 2022
1 parent 2969b59 commit 88e940e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions app/Http/Middleware/TrustProxies.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,5 @@ class TrustProxies extends Middleware
/**
* {@inheritDoc}
*/
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 $headers = Request::HEADER_X_FORWARDED_AWS_ELB;
}

0 comments on commit 88e940e

Please sign in to comment.