diff --git a/ops/nginx_conf/nginx.conf b/ops/nginx_conf/nginx.conf index 9293ad7..573e488 100644 --- a/ops/nginx_conf/nginx.conf +++ b/ops/nginx_conf/nginx.conf @@ -53,7 +53,6 @@ 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 @@ -76,7 +75,7 @@ http { end if not res["ip"] then - ngx.log(ngx.ERR, "no host found for key ", domain) + ngx.say('The domain is not allowed on this server.') ngx.exit(406) return false end