OLD | NEW |
| (Empty) |
1 access_log /var/log/nginx/access_log_easylist_downloads main; | |
2 keepalive_timeout 0; | |
3 root /var/www/easylist; | |
4 | |
5 location / { | |
6 rewrite .* https://easylist.adblockplus.org/ redirect; | |
7 } | |
8 | |
9 location /COPYING { | |
10 charset utf-8; | |
11 gzip_static on; | |
12 default_type text/plain; | |
13 } | |
14 | |
15 location ~ \.(txt|tpl)$ { | |
16 charset utf-8; | |
17 gzip_static on; | |
18 default_type text/plain; | |
19 } | |
20 | |
21 # redirect server error pages to the static page /50x.html | |
22 # | |
23 error_page 500 502 503 504 /50x.html; | |
24 location = /50x.html { | |
25 root html; | |
26 } | |
OLD | NEW |