LEFT | RIGHT |
1 root /var/www/easylist; | 1 root /var/www/easylist; |
2 keepalive_timeout 0; | 2 keepalive_timeout 0; |
3 charset utf-8; | 3 charset utf-8; |
4 gzip_static on; | 4 gzip_static on; |
5 default_type text/plain; | 5 default_type text/plain; |
6 | 6 |
7 # http://hub.eyeo.com/issues/262 | 7 # http://hub.eyeo.com/issues/262 |
8 location /filters/easylist-min.txt | 8 location /filters/easylist-min.txt |
9 { | 9 { |
10 proxy_cache filters; | 10 proxy_cache filters; |
(...skipping 19 matching lines...) Expand all Loading... |
30 { | 30 { |
31 set $use_alternative_resource_flags "IE"; | 31 set $use_alternative_resource_flags "IE"; |
32 } | 32 } |
33 | 33 |
34 if ($arg_application ~ ^(yowser|adblockbrowser)$) | 34 if ($arg_application ~ ^(yowser|adblockbrowser)$) |
35 { | 35 { |
36 set $use_alternative_resource_flags "BROWSER"; | 36 set $use_alternative_resource_flags "BROWSER"; |
37 } | 37 } |
38 | 38 |
39 ### http://hub.eyeo.com/issues/735 Hack for ABB development build that supports
elemhide: | 39 ### http://hub.eyeo.com/issues/735 Hack for ABB development build that supports
elemhide: |
40 if ($arg_addonVersion ~ ^(2\.)(7|8|9)($|\.).*$) | 40 if ($arg_addonVersion ~ ^2\.(7|8|9)(\..*)?$) |
41 { | 41 { |
42 set $use_alternative_resource_flags "${use_alternative_resource_flags}+SUPPORT
S_ELEMHIDE"; | 42 set $use_alternative_resource_flags "${use_alternative_resource_flags}+SUPPORT
S_ELEMHIDE"; |
43 } | 43 } |
44 | 44 |
45 if ($arg_addonName = "libadblockplus-android") | 45 if ($arg_addonName = "libadblockplus-android") |
46 { | 46 { |
47 set $use_alternative_resource_flags "ZTE"; | 47 set $use_alternative_resource_flags "ZTE"; |
48 } | 48 } |
49 | 49 |
50 if ($geoip_country_code = "DE") | 50 if ($geoip_country_code = "DE") |
(...skipping 13 matching lines...) Expand all Loading... |
64 rewrite ^/easylist\.(.+) /easylist_noelemhide.$1 break; | 64 rewrite ^/easylist\.(.+) /easylist_noelemhide.$1 break; |
65 rewrite ^/easylistgermany\+easylist\.(.+) /easylistgermany_noelemhide+easylist
_noelemhide.$1 break; | 65 rewrite ^/easylistgermany\+easylist\.(.+) /easylistgermany_noelemhide+easylist
_noelemhide.$1 break; |
66 rewrite ^/easylistgermany\.(.+) /easylistgermany_noelemhide.$1 break; | 66 rewrite ^/easylistgermany\.(.+) /easylistgermany_noelemhide.$1 break; |
67 } | 67 } |
68 | 68 |
69 if ($use_alternative_resource_flags = "ZTE") | 69 if ($use_alternative_resource_flags = "ZTE") |
70 { | 70 { |
71 rewrite ^/exceptionrules\.(.+) /exceptionrules-minimal.$1 break; | 71 rewrite ^/exceptionrules\.(.+) /exceptionrules-minimal.$1 break; |
72 } | 72 } |
73 | 73 |
LEFT | RIGHT |