手册:$wgSquidServersNoPurge
Appearance
此功能已在版本1.35.0中,从MediaWiki核心代码中移除。 请参见$wgCdnServersNoPurge以获取使用此功能的替代方式。 |
HTTP代理(CDN)设置: $wgSquidServersNoPurge | |
---|---|
Same as $wgSquidServers , except that MW has no methods to send HTTP PURGE to an origin part of the configured ranges |
|
引进版本: | 1.4.0 |
弃用版本: | 1.34.0 (Gerrit change 387877; git #f9f8dff4) |
移除版本: | 1.35.0 (Gerrit change 579755; git #e8d9d68b) |
允许的值: | (IPv4与IPv6以及/或CIDR封禁) |
默认值: | [] 早于1.23版本的CIDR并不会被支持。 |
其他设置: 按首字母排序 | 按功能排序 |
详情
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";