upstream catalog_upstream { server 0.0.0.1:1; balancer_by_lua_block { local balancer = require "balancer" balancer.call() } keepalive 1024; }