Skip to content
Snippets Groups Projects
Unverified Commit d876ebb8 authored by Niels Abspoel's avatar Niels Abspoel Committed by GitHub
Browse files

Merge pull request #77 from aminet/master

support for tcp-check parameter in backends
parents 27d5c165 9dd14ea1
No related branches found
No related tags found
No related merge requests found
......@@ -510,6 +510,15 @@ backend {{ backend.get('name', backend_name) }}
{%- endfor %}
{%- endif %}
{%- endif %}
{%- if 'tcpchecks' in backend %}
{%- if backend.tcpchecks is string %}
tcp-check {{ backend.tcpchecks }}
{%- else %}
{%- for tcpcheck in backend.tcpchecks %}
tcp-check {{ tcpcheck }}
{%- endfor %}
{%- endif %}
{%- endif %}
{%- if 'httprequests' in backend %}
{%- if backend.httprequests is string %}
http-request {{ backend.httprequests }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment