Yurik has uploaded a new change for review.

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


Change subject: Zero: Removed explicit 404-01 carrier because will be covered 
by default case
......................................................................

Zero: Removed explicit 404-01 carrier because will be covered by default case

404-01 is whitelisted for everything, hence - default

Change-Id: I6b382be8621838f2146bbc7dd40bdeccbfd6000e
---
M templates/varnish/zero.inc.vcl.erb
1 file changed, 0 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/08/99408/1

diff --git a/templates/varnish/zero.inc.vcl.erb 
b/templates/varnish/zero.inc.vcl.erb
index c4298c8..5977127 100644
--- a/templates/varnish/zero.inc.vcl.erb
+++ b/templates/varnish/zero.inc.vcl.erb
@@ -146,10 +146,6 @@
                if (req.http.host ~ 
"(^(en|ur)\.(zero|m)|^(zero|m))\.wikipedia\.") {
                        set req.http.X-CS = "410-01";
                }
-       } else if (req.http.X-CS2 == "404-01") {
-               if (req.http.host ~ 
"(^([a-zA-Z0-9-]+)\.(zero|m)|^(zero|m))\.wikipedia\.") {
-                       set req.http.X-CS = "404-01";
-               }
        } else if (req.http.X-CS2 == "510-11") {
                if (req.http.X-Subdomain == "ZERO") {
                        if (req.http.host ~ 
"(^(id|en|zh|ar|hi|ms|jv|su)\.zero|^zero)\.wikipedia\.") {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6b382be8621838f2146bbc7dd40bdeccbfd6000e
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Yurik <yu...@wikimedia.org>

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

Reply via email to