Manual:$wgCdnServersNoPurge

From mediawiki.org
HTTP proxy (CDN) settings: $wgCdnServersNoPurge
Same as $wgCdnServers , except that MW has no methods to send HTTP PURGE to an origin part of the configured ranges
Introduced in version:1.34.0 (Gerrit change 387877; git #f9f8dff4)
Removed in version:still in use
Allowed values:(IPv4 & IPv6 addresses and/or Classless Inter-Domain Routing (CIDR) blocks)
Default value:[]

Details[edit]

This variable is about telling MediaWiki an array of CIDR blocks where any IP address part of the range has to be considered as a Proxy server.

Same as $wgCdnServers , except that MW has no methods to send HTTP PURGE to an origin part of the configured ranges.

If you have individual IP addresses, refer to $wgCdnServers .

All documentation in Manual:$wgCdnServers#Configuration example with Varnish is valid, but with difference described below.

// In LocalSettings.php
$wgUseCdn = true;
$wgCdnServersNoPurge = [];
$wgCdnServersNoPurge[] = "192.0.2.0/24";