lua-resty-core icon indicating copy to clipboard operation
lua-resty-core copied to clipboard

keepalive not working in top of balancer_by_lua_block

Open amirhosseinvz94 opened this issue 4 years ago • 0 comments

if balancer config like below, keepalive not working upstream backend { keepalive 10; # connection pool server 0.0.0.1; balancer_by_lua_block { --logic } } and must be changed order of directive keepalive like this: upstream backend { server 0.0.0.1; balancer_by_lua_block { --logic } keepalive 10; # connection pool } but in nginx configthe order of directive in block has no effect on behavior of nginx

amirhosseinvz94 avatar Feb 01 '20 16:02 amirhosseinvz94