Skip to content

Commit 9dd14ea

Browse files
committed
1 parent 27d5c16 commit 9dd14ea

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

haproxy/templates/haproxy.jinja

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,15 @@ backend {{ backend.get('name', backend_name) }}
510510
{%- endfor %}
511511
{%- endif %}
512512
{%- endif %}
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+
{%- endif %}
513522
{%- if 'httprequests' in backend %}
514523
{%- if backend.httprequests is string %}
515524
http-request {{ backend.httprequests }}

0 commit comments

Comments
 (0)