Dzahn has submitted this change and it was merged.

Change subject: misc-web varnish: bugzilla to phab box
......................................................................


misc-web varnish: bugzilla to phab box

let misc-web varnish cluster handle the bugzilla
URLs and send them to the phabricator box, iridium,
as a backend

in order to let Mukunda's script then redirect those URLs
to the right place on phab

T1237

Change-Id: Ib4dc0e16572da7ec66d054b180abb3c7d8a424f5
---
M templates/varnish/misc.inc.vcl.erb
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  20after4: Looks good to me, but someone else must approve
  jenkins-bot: Verified
  Dzahn: Looks good to me, approved



diff --git a/templates/varnish/misc.inc.vcl.erb 
b/templates/varnish/misc.inc.vcl.erb
index 3fff6f4..242eb11 100644
--- a/templates/varnish/misc.inc.vcl.erb
+++ b/templates/varnish/misc.inc.vcl.erb
@@ -24,7 +24,7 @@
                set req.backend = ruthenium;
        } elsif (req.http.Host == "legalpad.wikimedia.org") {
                set req.backend = radon;
-       } elsif (req.http.Host == "phabricator.wikimedia.org" || req.http.Host 
== "phab.wmfusercontent.org") {
+       } elsif (req.http.Host == "phabricator.wikimedia.org" || req.http.Host 
== "phab.wmfusercontent.org" || req.http.Host == "bugzilla.wikimedia.org" || 
req.http.Host == "bugs.wikimedia.org" || req.http.Host == 
"bug-attachment.wikimedia.org") {
                set req.backend = iridium;
        } elsif (req.http.Host == "contacts.wikimedia.org") {
                set req.backend = zirconium;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib4dc0e16572da7ec66d054b180abb3c7d8a424f5
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: 20after4 <[email protected]>
Gerrit-Reviewer: Aklapper <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Rush <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to