nginx: fixed log

This commit is contained in:
Alexey Bannov 2023-09-29 21:59:55 +03:00
parent 227531280d
commit 55d92a8fa6

View File

@ -111,7 +111,7 @@ server {
if redis_pass ~= "" then
local res, err = red:auth(redis_pass)
if not res then
ngx.log("failed to authenticate: ", err)
ngx.log(ngx.ERR, "failed to authenticate: ", err)
return
end
end