You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have dynamic balancer which discovers inside ngx.timer (from lua-nginx-module) upstreams of tarantool and balances client requests according to some application logic. We would like to configure tarantool location in the following way:
server {
server_name _;
location .tnt {
internal;
tnt_pass $tarantool;
}
location / {
set $tarantool "placeholder";
content_by_lua_block {
for _, tnt in app:upstreams() do
ngx.var.tarantool = tnt -- sets variable
app:execute() -- performs internal request to .tnt
end
}
}
}
We can't do this now, because tnt_pass requires IP address or upstream name
The text was updated successfully, but these errors were encountered:
We have dynamic balancer which discovers inside ngx.timer (from lua-nginx-module) upstreams of tarantool and balances client requests according to some application logic. We would like to configure tarantool location in the following way:
We can't do this now, because tnt_pass requires IP address or upstream name
The text was updated successfully, but these errors were encountered: