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 |
| 8 ### http://hub.eyeo.com/issues/444 for ZTE redirects |
| 9 ### http://hub.eyeo.com/issues/496 for bento.de redirects |
7 set $use_alternative_resource_flags 0; | 10 set $use_alternative_resource_flags 0; |
8 | 11 |
9 if ($arg_addonName ~ ^([Mm]axthon)$) | 12 if ($arg_addonName ~ ^([Mm]axthon)$) |
10 { | 13 { |
11 set $use_alternative_resource_flags "BROWSER"; | 14 set $use_alternative_resource_flags "BROWSER"; |
12 } | 15 } |
13 | 16 |
14 if ($arg_addonName ~ ^(adblockplusie)$) | 17 if ($arg_addonName ~ ^(adblockplusie)$) |
15 { | 18 { |
16 set $use_alternative_resource_flags "IE"; | 19 set $use_alternative_resource_flags "IE"; |
17 } | 20 } |
(...skipping 25 matching lines...) Expand all Loading... |
43 rewrite ^/easylist\.(.+) /easylist_noelemhide.$1 break; | 46 rewrite ^/easylist\.(.+) /easylist_noelemhide.$1 break; |
44 rewrite ^/easylistgermany\+easylist\.(.+) /easylistgermany_noelemhide+easylist
_noelemhide.$1 break; | 47 rewrite ^/easylistgermany\+easylist\.(.+) /easylistgermany_noelemhide+easylist
_noelemhide.$1 break; |
45 rewrite ^/easylistgermany\.(.+) /easylistgermany_noelemhide.$1 break; | 48 rewrite ^/easylistgermany\.(.+) /easylistgermany_noelemhide.$1 break; |
46 } | 49 } |
47 | 50 |
48 if ($use_alternative_resource_flags = "ZTE") | 51 if ($use_alternative_resource_flags = "ZTE") |
49 { | 52 { |
50 rewrite ^/exceptionrules\.(.+) /exceptionrules-minimal.$1 break; | 53 rewrite ^/exceptionrules\.(.+) /exceptionrules-minimal.$1 break; |
51 } | 54 } |
52 | 55 |
LEFT | RIGHT |