fix eval ua deny

pull/13/head
loveshell 2013-11-12 01:06:35 +08:00
parent 7237a7e7e0
commit ccc2851160
1 changed files with 1 additions and 0 deletions

View File

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