Manual:$wgCdnServersNoPurge/pl

This page is a translated version of the page Manual:$wgCdnServersNoPurge and the translation is 10% complete.
HTTP proxy (CDN) settings: $wgCdnServersNoPurge
Same as $wgCdnServers , except no HTTP purges will be sent and CIDR ranges are accepted
Wprowadzono w wersji:1.34.0 (Gerrit change 387877; git #f9f8dff4)
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:(IPv4 & IPv6 addresses and/or Classless Inter-Domain Routing (CIDR) blocks)
Domyślna wartość:[]

Szczegóły

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.

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