Fix lua mistake

#116
This commit is contained in:
thelittlefireman 2021-04-11 15:33:31 +02:00 committed by GitHub
parent b85c991b6e
commit 605d59a45c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ if use_user_agent and ngx.var.bad_user_agent == "yes" then
ngx.log(ngx.WARN, "[ALLOW] User-Agent " .. ngx.var.http_user_agent .. " is whitelisted")
block = false
break
fi
end
end
if block then
ngx.log(ngx.WARN, "[BLOCK] User-Agent " .. ngx.var.http_user_agent .. " is blacklisted")