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

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

Issue 29326065: Issue 2958 - Add Adblock Browser support, store and download redirects (Closed)
Patch Set: Created Sept. 8, 2015, 6:37 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
@@ -121,6 +121,26 @@
{
rewrite ^ https://adblockplus.org/adblock-browser redirect;
}
+ if ($arg_link = "adblock_browser_android_support")
+ {
+ rewrite ^ https://adblockbrowser.org/en/android-support/? redirect;
+ }
+ if ($arg_link = "adblock_browser_ios_support")
+ {
+ rewrite ^ https://adblockbrowser.org/en/ios-support/? redirect;
+ }
+ if ($arg_link = "adblock_browser_android_store")
+ {
+ rewrite ^ https://play.google.com/store/apps/details?id=org.adblockplus.browser? redirect;
+ }
+ if ($arg_link = "adblock_browser_ios_store")
+ {
+ rewrite ^ https://itunes.apple.com/us/app/adblock-browser/id1015653330?ls=1&mt=8? redirect;
+ }
+ if ($arg_link = "adblock_browser_android_download")
+ {
+ rewrite ^ https://downloads.adblockplus.org/adblockbrowser-1.0.0-arm.apk? redirect;
+ }
set $lang "en";
set $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