Documentation

TrustProxies extends TrustProxies
in package

Table of Contents

$headers  : int
The headers that should be used to detect proxies.
$proxies  : array<int, string>|string|null
The trusted proxies for this application.

Properties

$headers

The headers that should be used to detect proxies.

protected int $headers = \Illuminate\Http\Request::HEADER_X_FORWARDED_FOR | \Illuminate\Http\Request::HEADER_X_FORWARDED_HOST | \Illuminate\Http\Request::HEADER_X_FORWARDED_PORT | \Illuminate\Http\Request::HEADER_X_FORWARDED_PROTO | \Illuminate\Http\Request::HEADER_X_FORWARDED_AWS_ELB

$proxies

The trusted proxies for this application.

protected array<int, string>|string|null $proxies

Search results