diff --git a/proxy/proxy.conf b/proxy/proxy.conf index d3cd4d2..8f9f192 100644 --- a/proxy/proxy.conf +++ b/proxy/proxy.conf @@ -24,7 +24,7 @@ server { rewrite_by_lua_block { local http = require("resty.http").new() - local res, err = http:request_uri("http://127.0.0.1:3000/containers/" .. ngx.var.container .. "/ip") + local res = http:request_uri("http://127.0.0.1:3000/containers/" .. ngx.var.container .. "/ip") ngx.var.ip = res.body }