public function handle($request, Closure $next)
    {
        $request->setTrustedProxies(['127.0.0.1', $request->server->get('REMOTE_ADDR')]);

        return $next($request);
    }
public function handle($request, Closure $next)
    {
        $request->setTrustedProxies(['127.0.0.1', $request->server->get('REMOTE_ADDR')]);

        return $next($request);
    }
public function handle ( $ request , Closure $ next ) { $ request -> setTrustedProxies ( [ '127.0.0.1' , $ request -> server -> get ( 'REMOTE_ADDR' ) ] ) ; return $ next ( $ request ) ; }
use aws elb https

@param \Illuminate\Http\Request $request
@param \Closure $next
@return \Illuminate\Http\Response
use aws elb https