how to use keepalive with Nginx revers proxy?

Maxim Dounin mdounin at
Mon Dec 14 16:29:21 UTC 2015


On Sun, Dec 13, 2015 at 09:28:27PM -0500, winghokwan wrote:

> I have the same issue. I use Lua and Redis for the reverse proxy lookup and
> don't use upstream. How to use keepalive then?

The only way now is to define upstream{} blocks in advance, and 
then provide appropriate upstream{} block name from your dynamic 
lookup code.

Maxim Dounin

More information about the nginx mailing list