Fixed nginx conf issue

This commit is contained in:
2024-08-07 22:39:43 -04:00
parent d64edd87d9
commit d16c632045
+1 -2
View File
@@ -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