Manual:$wgCdnServersNoPurge
HTTP プロキシ (CDN) 設定: $wgCdnServersNoPurge | |
---|---|
MediaWiki には設定された範囲の起点部分に HTTP PURGE を送信するメソッドがないことを除いて、$wgCdnServers と同じ |
|
導入されたバージョン: | 1.34.0 (Gerrit change 387877; git #f9f8dff4) |
除去されたバージョン: | 使用中 |
許容される値: | (IPv4 アドレス、IPv6 アドレス、クラスレス ドメイン間 ルーティング (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 $wgCdnServers
, 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
$wgCdnServers
.All documentation in Manual:$wgCdnServers#Configuration example with Varnish is valid, but with difference described below.
// LocalSettings.php 内
$wgUseCdn = true;
$wgCdnServersNoPurge = [];
$wgCdnServersNoPurge[] = "192.0.2.0/24";