mediawiki/conf/LocalSettings.local.php

10 lines
No EOL
344 B
PHP

<?php
# This file can be replaced by mounting in a custom configuration, that will
# augment the generated config.
# trust X-Forwarded-For Header from private IPs
$wgUsePrivateIPs = true;
$wgCdnServersNoPurge = array();
$wgCdnServersNoPurge[] = "10.0.0.0/8";
$wgCdnServersNoPurge[] = "172.16.0.0/12";
$wgCdnServersNoPurge[] = "192.168.0.0/16";