Re: Using LUA to redirect a connection based-upon initial content and to redirect upon target disconnection

2018-07-16 Thread thierry . fournier
Hi, On Sun, 15 Jul 2018 17:14:01 +0100 Alistair Lowe wrote: > Hi folks, > > I'm looking to use LUA in HAProxy to enable two use cases: > >1. Redirect a connection based upon inspecting initial traffic for a >server name. >2. Redirect a connection when the target server closes its c

Using LUA to redirect a connection based-upon initial content and to redirect upon target disconnection

2018-07-15 Thread Alistair Lowe
Hi folks, I'm looking to use LUA in HAProxy to enable two use cases: 1. Redirect a connection based upon inspecting initial traffic for a server name. 2. Redirect a connection when the target server closes its connection. My understanding is that both of these scenarios should be possib