From 879c75db94b2cf063ed7d116ea2752af649578df Mon Sep 17 00:00:00 2001 From: Mikhail Date: Tue, 18 Feb 2014 14:55:43 +0500 Subject: [PATCH] Update ip_blacklist.conf.lua --- samples/ip_blacklist/ip_blacklist.conf.lua | 33 ---------------------- 1 file changed, 33 deletions(-) diff --git a/samples/ip_blacklist/ip_blacklist.conf.lua b/samples/ip_blacklist/ip_blacklist.conf.lua index 2264424..7068e18 100644 --- a/samples/ip_blacklist/ip_blacklist.conf.lua +++ b/samples/ip_blacklist/ip_blacklist.conf.lua @@ -83,40 +83,7 @@ Only call this method in the place you would have called the close method instea ngx.log(ngx.ERR, string.format("ip_blacklist: failed to set set_keepalive: [%s]", err)) --~ return end -end, -------------------------------------------------------------------------------------------------------------------- ---[[ - deny_resp = function () -- если не будет в кэше? - ngx.status = ngx.HTTP_OK - ngx.header.content_type = 'text/html; charset=UTF-8' - local body =[[ - - - - - (Это title) - - -
-
-

Заголовок "h1" из hgroup

-
-
- - - -]] - ngx.header.content_length = string.len(body) - ngx.say(body) - -- to cause quit the whole request rather than the current phase handler - ip_blacklist.redis_end(ip_blacklist.redis) - return ngx.exit(ngx.HTTP_OK) end ---]] -- end configuration }