mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update init.lua
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user