Mark Bergsma has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/60022


Change subject: Remove test_wikipedia backend on the frontend caches
......................................................................

Remove test_wikipedia backend on the frontend caches

This is now handled by the backends caches

Change-Id: I7ced6cae7b656e936f0e267d6a0473a5ef75e8a7
---
M templates/varnish/mobile-frontend.inc.vcl.erb
1 file changed, 0 insertions(+), 15 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/22/60022/1

diff --git a/templates/varnish/mobile-frontend.inc.vcl.erb 
b/templates/varnish/mobile-frontend.inc.vcl.erb
index 7bc150a..d60a345 100644
--- a/templates/varnish/mobile-frontend.inc.vcl.erb
+++ b/templates/varnish/mobile-frontend.inc.vcl.erb
@@ -336,16 +336,6 @@
        "41.223.184.152"/30;
 }
 
-# for test.* routing, FIXME
-backend test_wikipedia {
-       .host = "srv193.pmtpa.wmnet";
-       .port = "80";
-       .connect_timeout = 5s;
-       .first_byte_timeout = 35s;
-       .between_bytes_timeout = 2s;
-       .max_connections = 20;
-}
-
 sub tag_carrier {
        /* For wiki zero project - tags partnered carriers
           The values for the X-CS headers are obtained from
@@ -620,11 +610,6 @@
        unset req.http.X-DfltPage;
 
        call device_detection;
-
-       if ( req.http.host ~ "^test\." ) {
-               set req.backend = test_wikipedia;
-               return (pass);
-       }
 }
 
 sub vcl_fetch {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7ced6cae7b656e936f0e267d6a0473a5ef75e8a7
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mark Bergsma <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to