Dzahn has submitted this change and it was merged.

Change subject: misc varnish: do not handle bz-attachment URLs
......................................................................


misc varnish: do not handle bz-attachment URLs

as explained by andre_ on the comment of PS3
on https://gerrit.wikimedia.org/r/#/c/172471/3

we do not want to redirect the bugzilla-attachment
URLs to phabricator or anywhere else

so this is just cleaning up the varnish config
for disambiguity, it didn't technically matter
as long as DNS was not switched over to misc-web

Change-Id: I43c194384a539a8efc0838be0261ab7d580c7d0b
---
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
  John F. Lewis: 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 242eb11..fdb9f8b 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" || req.http.Host == "bugzilla.wikimedia.org" || 
req.http.Host == "bugs.wikimedia.org" || req.http.Host == 
"bug-attachment.wikimedia.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") {
                set req.backend = iridium;
        } elsif (req.http.Host == "contacts.wikimedia.org") {
                set req.backend = zirconium;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I43c194384a539a8efc0838be0261ab7d580c7d0b
Gerrit-PatchSet: 2
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: John F. Lewis <[email protected]>
Gerrit-Reviewer: Nemo bis <[email protected]>
Gerrit-Reviewer: Qgil <[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