修复:url白名单,对于有url重写(伪静态)方式无效的问题

pull/147/head
QinXin 2019-04-10 00:58:31 +08:00
parent dc36612905
commit 861cc146f4
1 changed files with 1 additions and 1 deletions

View File

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