Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/web/templates/adblockplus.org.conf.erb

Issue 6231623137755136: Issue 2605 - Redirect legacy update URLs (Closed)
Patch Set: Created May 28, 2015, 11:40 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/web/templates/adblockplus.org.conf.erb
===================================================================
--- a/modules/web/templates/adblockplus.org.conf.erb
+++ b/modules/web/templates/adblockplus.org.conf.erb
@@ -65,16 +65,22 @@ if ($user_agent != "")
set $index_page $user_agent;
}
# Various redirects
rewrite ^/(\w\w(_\w\w)?/)?changelog-1.3.1$ /$1\changelog-1.3 permanent;
rewrite ^/downloads/(.*) https://downloads.adblockplus.org/$1 permanent;
+rewrite ^/update.rdf$ https://update.adblockplus.org/gecko/update.rdf permanent;
+rewrite ^/updates.plist$ https://update.adblockplus.org/adblockplussafari/updates.plist permanent;
+rewrite ^/androidupdate.json$ https://update.adblockplus.org/adblockplusandroid/update.json permanent;
+rewrite ^/androidupdate.xml$ https://update.adblockplus.org/adblockplusandroid/updates.xml permanent;
Felix Dahlke 2015/05/28 11:50:35 Isn't that androidupdates.xml, with an s?
Wladimir Palant 2015/05/28 11:57:44 You are right, I somehow mistyped this despite get
+rewrite ^/ieupdate.json$ https://update.adblockplus.org/adblockplusie/update.json permanent;
+
location /redirect
{
if ($arg_link = "reporter_connect_issue")
{
rewrite ^ /forum/? redirect;
}
if ($arg_link = "reporter_other_link")
{
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld