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 }