Accept X-Forwarded-For Header
This commit is contained in:
parent
9b79695717
commit
768064ceb1
1 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
<?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";
|
Loading…
Reference in a new issue