Skip to content

Commit ae8aa78

Browse files
committed
白名单只对uri做判断
1 parent 564979d commit ae8aa78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function whiteurl()
8080
if WhiteCheck then
8181
if wturlrules ~=nil then
8282
for _,rule in pairs(wturlrules) do
83-
if ngxmatch(ngx.var.request_uri,rule,"isjo") then
83+
if ngxmatch(ngx.var.uri,rule,"isjo") then
8484
return true
8585
end
8686
end

0 commit comments

Comments
 (0)