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