mediawiki/conf/LocalSettings.local.php

10 lines
344 B
PHP
Raw Permalink Normal View History

2021-01-12 08:49:20 +01:00
<?php
# This file can be replaced by mounting in a custom configuration, that will
# augment the generated config.
2021-01-13 07:13:34 +01:00
# 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";