Manual talk:$wgSquidServers
Add topicAppearance
Latest comment: 15 years ago by 67.180.35.148
What is the delimiter on this array value? Could someone post usage with multiple values? Thanks. --70.131.104.122 15:32, 30 January 2007 (UTC)
It's an array, so it already can contain multiple values:
- $wgUseSquid = true;
- $wgSquidServersNoPurge = array('127.0.0.1');
- $wgSquidServers = array('209.139.209.234', '64.86.165.249');
I am using Squid as a reverse proxy to an Apache server running Mediawiki and 127.0.0.1 is always shown as the IP. I have set Apache to see X-Forwarded-for and the $wgUseSquid and $wgSquidServers are being used. I cannot find anything online to help with this, any ideas? --Benyg 01:02, 22 February 2008 (UTC)
- Have you tried enabling Manual:$wgUsePrivateIPs? -- 67.180.35.148 18:24, 9 July 2009 (UTC)