We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 27d5c16 + 9dd14ea commit d876ebbCopy full SHA for d876ebb
1 file changed
haproxy/templates/haproxy.jinja
@@ -510,6 +510,15 @@ backend {{ backend.get('name', backend_name) }}
510
{%- endfor %}
511
{%- endif %}
512
513
+ {%- if 'tcpchecks' in backend %}
514
+ {%- if backend.tcpchecks is string %}
515
+ tcp-check {{ backend.tcpchecks }}
516
+ {%- else %}
517
+ {%- for tcpcheck in backend.tcpchecks %}
518
+ tcp-check {{ tcpcheck }}
519
+ {%- endfor %}
520
+ {%- endif %}
521
522
{%- if 'httprequests' in backend %}
523
{%- if backend.httprequests is string %}
524
http-request {{ backend.httprequests }}
0 commit comments