Example 10-25. Configuring the TrustProxies middleware
/** * The trusted proxies for this application * * @vararray*/protected$proxies=['192.168.1.1','192.168.1.2'];/** * The headers that should be used to detect proxies * * @varstring*/protected$headers=Request::HEADER_X_FORWARDED_ALL;