Manual:$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 (Classless Inter-Domain Routing) ブロックの両方または片方) |
| 既定値: | []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
$wgSquidServersAll documentation in Manual:$wgSquidServers#Configuration example with Varnish is valid, but with difference described below.
// LocalSettings.php 内
$wgUseSquid = true;
$wgSquidServersNoPurge = array();
$wgSquidServersNoPurge[] = "192.0.2.0/24";