Merge pull request #8557 from fashberg/develop
Fixed #8543: Change trustedproxy.php to read env('APP_TRUSTED_PROXIES') again
This commit is contained in:
commit
7869ffcc79
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,8 @@ return [
|
|||
* how many proxies that client's request has
|
||||
* subsequently passed through.
|
||||
*/
|
||||
'proxies' => null, // [<ip addresses>,], '*'
|
||||
'proxies' => env('APP_TRUSTED_PROXIES') !== null ?
|
||||
explode(',', env('APP_TRUSTED_PROXIES')) : '*',
|
||||
|
||||
/*
|
||||
* To trust one or more specific proxies that connect
|
||||
|
|
Loading…
Add table
Reference in a new issue