jenkins-bot has submitted this change and it was merged.

Change subject: clean up squid NoPurge list for beta labs
......................................................................


clean up squid NoPurge list for beta labs

the regular ip address of the squid shouldn't be there
but the local ip, used by ssl terminators, should be
Change-Id: Ib812569daef45458345b0d1d74903bd83ef9f3b7
---
M wmf-config/squid-labs.php
1 file changed, 7 insertions(+), 1 deletion(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/wmf-config/squid-labs.php b/wmf-config/squid-labs.php
index 73470dc..ae6a144 100644
--- a/wmf-config/squid-labs.php
+++ b/wmf-config/squid-labs.php
@@ -1,4 +1,10 @@
 <?php
 
 $wgSquidServers = array( '10.4.0.17' );
-$wgSquidServersNoPurge = array( '10.4.0.17' );
\ No newline at end of file
+
+# our text squid in beta labs gets forwarded requests
+# from the ssl terminator, to 127.0.0.1, so adding that
+# address to the NoPurge list so that XFF headers for it
+# will be stripped; purge requests should get to it
+# on the address in the SquidServers list
+$wgSquidServersNoPurge = array( '127.0.0.1' );

-- 
To view, visit https://gerrit.wikimedia.org/r/69299
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib812569daef45458345b0d1d74903bd83ef9f3b7
Gerrit-PatchSet: 2
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: ArielGlenn <ar...@wikimedia.org>
Gerrit-Reviewer: Hashar <has...@free.fr>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to