File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -294,6 +294,10 @@ listen {{ listener.get('name', listener_name) }}
294294 {% - elif 'httpcheck' in listener %} {# deprecated: but for compatibility #}
295295 {% - if listener .httpcheck is string %}
296296 http-check {{ listener.httpcheck }}
297+ {% - else %}
298+ {% - for check_line in listener .httpcheck %}
299+ http-check {{ check_line }}
300+ {% - endfor %}
297301 {% - endif %}
298302 {% - endif %}
299303 {% - if 'tcpchecks' in listener %}
@@ -589,6 +593,10 @@ backend {{ backend.get('name', backend_name) }}
589593 {% - elif 'httpcheck' in backend %} {# deprecated: but for compatibility #}
590594 {% - if backend .httpcheck is string %}
591595 http-check {{ backend.httpcheck }}
596+ {% - else %}
597+ {% - for check_line in backend .httpcheck %}
598+ http-check {{ check_line }}
599+ {% - endfor %}
592600 {% - endif %}
593601 {% - endif %}
594602 {% - if 'redirects' in backend %}
You can’t perform that action at this time.
0 commit comments