Manual:$wgCdnServersNoPurge/es
Appearance
HTTP proxy (CDN) settings: $wgCdnServersNoPurge | |
---|---|
Same as $wgCdnServers , except no HTTP purges will be sent and CIDR ranges are accepted |
|
Introducido en la versión: | 1.34.0 (Gerrit change 387877; git #f9f8dff4) |
Eliminado en la versión: | aún se usa |
Valores permitidos: | (IPv4 & IPv6 addresses and/or Classless Inter-Domain Routing (CIDR) blocks) |
Valor predeterminado: | [] |
Otras configuraciones: Alfabéticamente | Por Función |
Details
This variable is about telling MediaWiki an array of CIDR
blocks or individual IP addresses where any IP address that is part of the range has to be considered as a Proxy server.
This means that X-Forward-For
headers will be respected for requests from IP addresses or ranges on this list.
Same as $wgCdnServers
, except that MW does not send PURGE requests to clear cache.
You can use this setting for proxy servers that do not cache content or are purged by a different means such as Purged.
All documentation in Manual:$wgCdnServers#Configuration example with Varnish is valid, but with difference described below.
// En LocalSettings.php
$wgUseCdn = true;
$wgCdnServersNoPurge = [];
$wgCdnServersNoPurge[] = "192.0.2.0/24";