Created
September 12, 2020 07:02
-
-
Save amardeep18/273ef2103205c8754df1475af595aa95 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TrustProxies extends Middleware | |
{ | |
/** | |
* The trusted proxies for this application. | |
* | |
* @var array|string | |
*/ | |
protected $proxies = '*'; | |
/** | |
* The headers that should be used to detect proxies. | |
* | |
* @var int | |
*/ | |
protected $headers = Request::HEADER_X_FORWARDED_AWS_ELB; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment