BBlack has submitted this change and it was merged.

Change subject: Revert "temporarily block bingbot from zhwiki"
......................................................................


Revert "temporarily block bingbot from zhwiki"

This reverts commit ef8424ddc66627e4751d300132e747de9fa876d8.

Change-Id: Icd9c8d18904d8293a02bd35a0c0fe7374bd7e06d
---
M templates/varnish/text-frontend.inc.vcl.erb
1 file changed, 0 insertions(+), 3 deletions(-)

Approvals:
  BBlack: Verified; Looks good to me, approved



diff --git a/templates/varnish/text-frontend.inc.vcl.erb 
b/templates/varnish/text-frontend.inc.vcl.erb
index 7da939f..66c9aff 100644
--- a/templates/varnish/text-frontend.inc.vcl.erb
+++ b/templates/varnish/text-frontend.inc.vcl.erb
@@ -77,9 +77,6 @@
        if (req.request == "POST" && req.url ~ 
"index\.php\?option=com_jce&task=plugin&plugin=imgmanager&file=imgmanager&method=form&cid=")
 {
                error 403 "Noise";
        }
-       if (req.http.host == "zh.wikipedia.org" && req.http.User-Agent ~ 
"bingbot") {
-               error 403 "Temporary Operational Issues";
-       }
 }
 
 sub vcl_recv {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Icd9c8d18904d8293a02bd35a0c0fe7374bd7e06d
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <[email protected]>
Gerrit-Reviewer: BBlack <[email protected]>

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

Reply via email to