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

Unified Diff: modules/filterserver/files/inc.easylist-downloads

Issue 9545004: Merged easylist-downloads and easylist-msie configurations (Closed)
Patch Set: Created March 4, 2013, 8:15 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
Index: modules/filterserver/files/inc.easylist-downloads
===================================================================
--- a/modules/filterserver/files/inc.easylist-downloads
+++ b/modules/filterserver/files/inc.easylist-downloads
@@ -1,20 +1,26 @@
access_log /var/log/nginx/access_log_easylist_downloads main;
keepalive_timeout 0;
+root /var/www/easylist;
location / {
rewrite .* https://easylist.adblockplus.org/ redirect;
- root /var/www/easylist;
}
location /COPYING {
charset utf-8;
gzip_static on;
default_type text/plain;
}
+location ~ \.(txt|tpl)$ {
+ charset utf-8;
+ gzip_static on;
+ default_type text/plain;
+}
+
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
« no previous file with comments | « modules/filterserver/files/easylist-downloads.adblockplus.org ('k') | modules/filterserver/files/inc.easylist-downloads-tpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld