Fixed nginx conf issue
This commit is contained in:
@@ -53,6 +53,7 @@ http {
|
||||
|
||||
local ok, err = red:connect("127.0.0.1", 6379)
|
||||
if not ok then
|
||||
ngx.say('The domain is not allowed on this server.')
|
||||
ngx.log(ngx.ERR, "failed to connect to redis: ", err)
|
||||
return ngx.exit(598)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user