Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

Set a variable in haproxy configuration and use it in Lua script

$
0
0

@prasanna wrote:

Hi,
As we can give any name for the backends in haproxy configuration,I would like to know if there is any way to send a variable with a value (suppose a backend name),so that I'll get this value in the lua script,and I would like to query for the status of servers in the lua script.Based on that I will set the health check response.

So,I would like to know how to set a variable in haproxy configuration and then use it in lua script.
Thankyou.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>