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 ^/androidupdates.xml$ https://update.adblockplus.org/adblockplusandroid/updates.xml permanent; |
+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") |
{ |