diff --git a/config.yaml b/config.yaml index 540856c..e954ed2 100644 --- a/config.yaml +++ b/config.yaml @@ -95,6 +95,26 @@ options: description: | Connect timeout configuration in ms for haproxy, used in HA configurations. If not provided, default value of 9000ms is used. + haproxy-check-http: + type: boolean + default: False + description: | + If True uses HTTP (Layer 7) checks for backends in haproxy, used in HA + configurations. If False uses a TCP check (default). + haproxy-check-request: + type: string + default: option httpchk GET /healthcheck + description: | + Enables HTTP protocol to check on the servers health: option httpchk . + This config is used when haproxy-check-http is enabled. + See https://www.haproxy.com/documentation/hapee/latest/onepage/#4-option%20httpchk + haproxy-check-expected: + type: string + default: http-check expect status 200 + description: | + Make HTTP health checks consider response contents or specific status codes. + This config is used when haproxy-check-http is enabled. + See https://www.haproxy.com/documentation/hapee/latest/onepage/#http-check%20expect dns-ha: type: boolean default: False