Update init.lua

This commit is contained in:
midoks
2022-10-10 13:01:27 +08:00
parent dff638571a
commit 4da57405af
+1 -1
View File
@@ -127,7 +127,7 @@ function clean_waf_drop_ip()
end
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
return_message(200,get_waf_drop_ip())
elseif uri == '/remove_waf_drop_ip' then