Manual:$wgSquidServersNoPurge/de-formal
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed from MediaWiki core in version <tvar name=ver>1.35.0</tvar>.</translate> <translate> Please see <tvar name=page>$wgCdnServersNoPurge</tvar> for an alternative way to use this feature.</translate> |
<translate> HTTP proxy (CDN) settings</translate>: $wgSquidServersNoPurge | |
---|---|
Same as $wgSquidServers , except that MW has no methods to send HTTP PURGE to an origin part of the configured ranges |
|
<translate> Introduced in version:</translate> | 1.4.0 |
<translate> Deprecated in version:</translate> | 1.34.0 (Gerrit change 387877; git #f9f8dff4) |
<translate> Removed in version:</translate> | 1.35.0 (Gerrit change 579755; git #e8d9d68b) |
<translate> Allowed values:</translate> | (IPv4 & IPv6 addresses and/or Classless Inter-Domain Routing (CIDR) blocks) |
<translate> Default value:</translate> | [] Prior to 1.23 CIDR notation was not supported |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Details
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 $wgSquidServers
, 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
$wgSquidServers
All documentation in Manual:$wgSquidServers#Configuration example with Varnish is valid, but with difference described below.
// In LocalSettings.php
$wgUseSquid = true;
$wgSquidServersNoPurge = array();
$wgSquidServersNoPurge[] = "192.0.2.0/24";
Categories:
- MediaWiki configuration settings/de-formal
- MediaWiki configuration settings introduced in version 1.4.0/de-formal
- MediaWiki configuration settings deprecated in version 1.34.0/de-formal
- MediaWiki configuration settings removed in version 1.35.0/de-formal
- Pages with broken file links
- MediaWiki deprecated or obsolete features/de-formal
- Squid variables/de-formal