private function loadTrustedProxies()
    {
        $proxies = App::$Properties->get('trustedProxy');
        if (!$proxies || Str::likeEmpty($proxies)) {
            return;
        }

        $pList = explode(',', $proxies);
        $resultList = [];
        foreach ($pList as $proxy) {
            $resultList[] = trim($proxy);
        }
        self::setTrustedProxies($resultList, self::HEADER_X_FORWARDED_ALL);
    }
private function loadTrustedProxies()
    {
        $proxies = App::$Properties->get('trustedProxy');
        if (!$proxies || Str::likeEmpty($proxies)) {
            return;
        }

        $pList = explode(',', $proxies);
        $resultList = [];
        foreach ($pList as $proxy) {
            $resultList[] = trim($proxy);
        }
        self::setTrustedProxies($resultList, self::HEADER_X_FORWARDED_ALL);
    }
private function loadTrustedProxies ( ) { $ proxies = App :: $ Properties -> get ( 'trustedProxy' ) ; if ( ! $ proxies || Str :: likeEmpty ( $ proxies ) ) { return ; } $ pList = explode ( ',' , $ proxies ) ; $ resultList = [ ] ; foreach ( $ pList as $ proxy ) { $ resultList [ ] = trim ( $ proxy ) ; } self :: setTrustedProxies ( $ resultList , self :: HEADER_X_FORWARDED_ALL ) ; }
Set trusted proxies from configs
Set trusted proxies from configs