uuWAF
uuWAF copied to clipboard
升级7.0后原来的限制外网访问规则无效了
local country, province, city = waf.ip2loc(waf.ip) if country ~= "" then return true, "限制外网访问", true end return false 7.0中怎么写
限制外网完全没必要这么用,直接判断waf.ip是不是内网ip就可以了