BBlack has submitted this change and it was merged.
Change subject: mobile-frontend: remove dead 666-redirect handler
......................................................................
mobile-frontend: remove dead 666-redirect handler
Change-Id: I0f70ba531f820d52627bb38b7be910647c3fda29
---
M templates/varnish/mobile-frontend.inc.vcl.erb
1 file changed, 0 insertions(+), 8 deletions(-)
Approvals:
BBlack: Looks good to me, approved
jenkins-bot: Verified
diff --git a/templates/varnish/mobile-frontend.inc.vcl.erb
b/templates/varnish/mobile-frontend.inc.vcl.erb
index 1ff8615..b7599aa 100644
--- a/templates/varnish/mobile-frontend.inc.vcl.erb
+++ b/templates/varnish/mobile-frontend.inc.vcl.erb
@@ -127,14 +127,6 @@
}
sub vcl_error {
- // Support mobile redirects
- if (obj.status == 666) {
- set obj.http.Location = obj.response;
- set obj.status = 302;
- set obj.http.Connection = "keep-alive";
- return (deliver);
- }
-
call errorpage;
return (deliver);
}
--
To view, visit https://gerrit.wikimedia.org/r/231299
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I0f70ba531f820d52627bb38b7be910647c3fda29
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <[email protected]>
Gerrit-Reviewer: BBlack <[email protected]>
Gerrit-Reviewer: Faidon Liambotis <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits