白名单只对uri做判断

pull/47/head 0.2.tar.gz
loveshell 2015-04-07 23:49:55 +08:00
parent 564979d0c1
commit ae8aa78f9f
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ function whiteurl()
if WhiteCheck then
if wturlrules ~=nil then
for _,rule in pairs(wturlrules) do
if ngxmatch(ngx.var.request_uri,rule,"isjo") then
if ngxmatch(ngx.var.uri,rule,"isjo") then
return true
end
end