namespaces and proxy
This commit is contained in:
parent
37e72d5129
commit
0c0b63a400
1 changed files with 8 additions and 0 deletions
|
@ -195,3 +195,11 @@ $wgHideInterlanguageLinks = false;
|
||||||
#ini_set( 'display_errors', 1 );
|
#ini_set( 'display_errors', 1 );
|
||||||
#$wgShowExceptionDetails = true;
|
#$wgShowExceptionDetails = true;
|
||||||
#$wgShowDBErrorBacktrace = true;
|
#$wgShowDBErrorBacktrace = true;
|
||||||
|
|
||||||
|
$wgNamespacesWithSubpages[NS_MAIN] = true;
|
||||||
|
$wgNamespacesWithSubpages[NS_TEMPLATE] = true;
|
||||||
|
|
||||||
|
# use proxy ip addresses -- we’re behind (at least) one reverse proxy that sets X-Forwarded-For
|
||||||
|
$wgUsePrivateIPs = true;
|
||||||
|
# ingress haproxy
|
||||||
|
$wgCdnServersNoPurge = [ '10.140.0.1' ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue