Index: modules/nginx/templates/site.erb |
=================================================================== |
--- a/modules/nginx/templates/site.erb |
+++ b/modules/nginx/templates/site.erb |
@@ -72,6 +72,15 @@ |
root /usr/share/nginx/html; |
} |
+# https://issues.adblockplus.org/ticket/4894 |
+location /easylistchina+easylist.txt |
+{ |
+ if ($http_user_agent = "") |
+ { |
+ return 400; |
+ } |
+} |
+ |
if ($http_host ~ "^(.+)\.$") |
{ |
set $canonical_host $1; |