HAProxy Enterprise Documentation 2.6r1

Variables

You can set and unset custom variables for HTTP and TCP health checks.

Set check.port for use in the HTTP check:

http-check set-var(check.port) int(1234)

Unset the check.port variable in the HTTP check:

http-check unset-var(check.port)

For complete details, see:


Next up

Passive Health Checks