Manual:$wgSquidServersNoPurge/fr

From mediawiki.org
This page is a translated version of the page Manual:$wgSquidServersNoPurge and the translation is 20% complete.
Paramètres de proxy HTTP (CDN): $wgSquidServersNoPurge
Same as $wgSquidServers , except that MW has no methods to send HTTP PURGE to an origin part of the configured ranges
Introduit dans la version :1.4.0
Obsolète dans la version :1.34.0 (Gerrit change 387877; git #f9f8dff4)
Retiré dans la version :1.35.0 (Gerrit change 579755; git #e8d9d68b)
Valeurs autorisées :(IPv4 & IPv6 addresses and/or Classless Inter-Domain Routing (CIDR) blocks)
Valeur par défaut :[]
Prior to 1.23 CIDR notation was not supported

Détails

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.

// Dans LocalSettings.php
$wgUseSquid = true;
$wgSquidServersNoPurge = array();
$wgSquidServersNoPurge[] = "192.0.2.0/24";