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") |
{ |