Index: modules/filterserver/files/site.conf |
diff --git a/modules/filterserver/files/site.conf b/modules/filterserver/files/site.conf |
index d8410c4108f7d570cdd634c8f74e41f1299de9e1..dcf92f6b210b19e98beb7386450af9064d73a812 100644 |
--- a/modules/filterserver/files/site.conf |
+++ b/modules/filterserver/files/site.conf |
@@ -47,6 +47,12 @@ if ($arg_addonName = "libadblockplus-android") |
set $use_alternative_resource_flags "ZTE"; |
} |
+# http://hub.eyeo.com/issues/1374 |
+if ($arg_application = "com.mx.browser") |
+{ |
+ set $use_alternative_resource_flags "${use_alternative_resource_flags}+MX" |
+} |
+ |
if ($geoip_country_code = "DE") |
{ |
set $use_alternative_resource_flags "${use_alternative_resource_flags}+LOCATION"; |
@@ -71,3 +77,13 @@ if ($use_alternative_resource_flags = "ZTE") |
rewrite ^/exceptionrules\.(.+) /exceptionrules-minimal.$1 break; |
} |
+if ($use_alternative_resource_flags = "ZTE+MX") |
+{ |
+ rewrite ^/exceptionrules\.(.+) /exceptionrules-minimal.$1 break; |
+ rewrite ^/easylist\.(.+) /easylist-minimal.$1 break; |
+ rewrite ^/easylistchina\.(.+) /easylistchina-minimal.$1 break; |
+ rewrite ^/advblock\.(.+) /advblock-minimal.$1 break; |
+ rewrite ^/easylistchina+easylist\.(.+) /easylistchina-minimal+easylist-minimal.$1 break; |
+ rewrite ^/ruadlist+easylist\.(.+) /ruadlist-minimal+easylist-minimal.$1 break; |
+} |
+ |