<?phpnamespaceApp\Http\Middleware;useIlluminate\Http\Request;useFideloper\Proxy\TrustProxiesasMiddleware;classTrustProxiesextendsMiddleware{/** * 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_ALL;}