TrustProxies
extends TrustProxies
in package
Table of Contents
Properties
- $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
= \Symfony\Component\HttpFoundation\Request::HEADER_X_FORWARDED_FOR | \Symfony\Component\HttpFoundation\Request::HEADER_X_FORWARDED_HOST | \Symfony\Component\HttpFoundation\Request::HEADER_X_FORWARDED_PORT | \Symfony\Component\HttpFoundation\Request::HEADER_X_FORWARDED_PROTO
$proxies
The trusted proxies for this application.
protected
array<int, string>|string|null
$proxies
= '*'