fix eval ua deny

pull/13/head
loveshell 11 years ago
parent 7237a7e7e0
commit ccc2851160

@ -127,6 +127,7 @@ function ua()
for _,rule in pairs(uarules) do for _,rule in pairs(uarules) do
if rule ~="" and ngxmatch(ua,rule,"isjo") then if rule ~="" and ngxmatch(ua,rule,"isjo") then
log('UA',ngx.var.request_uri,"-",rule) log('UA',ngx.var.request_uri,"-",rule)
say_html()
return true return true
end end
end end

Loading…
Cancel
Save