Hi Holger,
that is exactly what I am looking for. I have to read through the
documentation.
Nevertheless it would be nice to be able to use converters in any phase
without magic tricks.
Thank you for your help!
BR,
Gabor
On Fri, Mar 24, 2017 at 8:59 PM, Holger Just wrote:
> Hi Gabor,
>
> Gabo
Hi Thierry,
I tried the following code to find the metatable you suggested:
haproxy.cfg:
global
lua-load /etc/haproxy/test.lua
test.lua:
core.register_init(function ()
core.Alert('--- _G ---')
for k in pairs(_G) do
core.Alert(tostring(k))
end
core.A
Hi Gabor,
Gabor Lekeny wrote:
> I would like to create a service which balances the HTTP requests on
> many servers without passing through the traffic on the proxy:
> actually it would redirect (HTTP 3xx) to the target server.
You might be able to use the redir parameter [1] on the server line
On Fri, 24 Mar 2017 17:32:53 +0100
Gabor Lekeny wrote:
> Hi!
>
> We have been using haproxy for many years and recently I found that it
> is possible to use Lua to dynamically configure it. That is great!
>
> I would like to create a service which balances the HTTP requests on
> many servers
Hi!
We have been using haproxy for many years and recently I found that it
is possible to use Lua to dynamically configure it. That is great!
I would like to create a service which balances the HTTP requests on
many servers without passing through the traffic on the proxy: actually
it would
5 matches
Mail list logo