Update init.lua

pull/209/head
midoks 3 years ago
parent dff638571a
commit 4da57405af
  1. 2
      plugins/op_waf/waf/lua/init.lua

@ -127,7 +127,7 @@ function clean_waf_drop_ip()
end end
function min_route() function min_route()
-- if ngx.var.remote_addr ~= '127.0.0.1' then return false end if ngx.var.remote_addr ~= '127.0.0.1' then return false end
if uri == '/get_waf_drop_ip' then if uri == '/get_waf_drop_ip' then
return_message(200,get_waf_drop_ip()) return_message(200,get_waf_drop_ip())
elseif uri == '/remove_waf_drop_ip' then elseif uri == '/remove_waf_drop_ip' then

Loading…
Cancel
Save