nginx: fixed log
This commit is contained in:
parent
227531280d
commit
55d92a8fa6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user