Update webstats_log.lua

This commit is contained in:
midoks 2022-07-27 11:40:31 +08:00
parent 2bdb56922e
commit 47e63341ce
1 changed files with 1 additions and 1 deletions

View File

@ -928,7 +928,7 @@ log_by_lua_block {
-- D("stat ok")
-- only count non spider requests
local ok, err = pcall(function() statistics_uri(db, uri, ngx.md5(uri), body_length) end)
local ok, err = pcall(function() statistics_uri(db, request_uri, ngx.md5(request_uri), body_length) end)
local ok, err = pcall(function() statistics_ip(db, ip, body_length) end)
end