update
This commit is contained in:
parent
830dc4a9ac
commit
4ca5b0c49c
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ end
|
|||
|
||||
|
||||
function csmod.Allow(ip)
|
||||
if runtime.conf["EXCLUDE_LOCATION"] ~= nil and utils.table_len(runtime.conf["EXCLUDE_LOCATION"]) > 0 then
|
||||
if utils.table_len(runtime.conf["EXCLUDE_LOCATION"]) > 0 then
|
||||
for k, v in pairs(runtime.conf["EXCLUDE_LOCATION"]) do
|
||||
if ngx.var.uri == v then
|
||||
ngx.log(ngx.ERR, "whitelisted location: " .. v)
|
||||
|
|
Loading…
Reference in a new issue