Extension:TrustedXFF/zh

The TrustedXFF extension maintains a list of trusted hosts in a file in a PHP array format. For details, see XFF project.

The file can be generated using the generate.php maintenance script.

Limitations
As of 2019, many wikis force HTTPS for all things. Any manipulation with headers on a proxy compromises HTTPs server authentication unless the proxy possesses an SSL certificate authoritative for the wiki in question. It makes the extension far less useful nowadays than it was originally envisaged.
 * Useless where  is unavailable.