Fixed nginx conf issue

This commit is contained in:
2024-08-08 08:38:51 -04:00
parent cf557f8aea
commit ee582891fa
3 changed files with 13 additions and 4 deletions
+3 -2
View File
@@ -20,10 +20,11 @@ server {
set $header_host $host;
access_by_lua '
ngx.log(ngx.ERR, "!!!!!!!!! proxy.conf !!!!!!!! ", domain)
local res = ngx.ctx.targetInfo
if not res then
ngx.log(ngx.ERR, "no host found for key ", domain)
ngx.exit(406)
ngx.log(ngx.ERR, "This should not happen", domain)
ngx.exit(499)
return false
end