Browse Source

fix eval ua deny

pull/13/head
loveshell 11 years ago
parent
commit
ccc2851160
  1. 1
      init.lua

1
init.lua

@ -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