Skip to content
Corex

SecurityTrustedProxiesCommand

Corex\Cli\Commands\SecurityTrustedProxiesCommand · class · CLI layer

Says which proxies a site trusts to report a visitor’s address. Behind a proxy, a load balancer or a CDN the connection comes from the proxy, so a login lockout and a form’s rate limit count every visitor as one client until the proxy is named here. Every proxy between the visitor and WordPress has to be named: the first one that is not is taken for the client.

Replaces the list. An empty list trusts nobody.