mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Fix for Issue #8543
* trustedproxy.php sets 'proxies' again according to env('APP_TRUSTED_PROXIES') again
This commit is contained in:
parent
c19f1b77b0
commit
1687e4b850
|
@ -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…
Reference in a new issue