Fixed nginx conf issue
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user