proper proxy configuration
This commit is contained in:
parent
ee27bc59a6
commit
45a907235d
3 changed files with 12 additions and 3 deletions
|
@ -242,3 +242,8 @@ $wgTemplateStylesExtenderEnableCssVars = 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