diff --git a/templates/httpcheck.conf b/templates/httpcheck.conf index bdda6155e6dd64f54b556e621b75458ae0bdd669..f0a8a34f6d8983fe1eb247a0b4f643f6aec46dd3 100644 --- a/templates/httpcheck.conf +++ b/templates/httpcheck.conf @@ -112,6 +112,9 @@ redirect: no {% if item.timeout is defined %} timeout: {{ item.timeout }} {% endif %} +{% if item.header is defined %} + header: {{ item.header|to_json }} +{% endif %} {% endif %} {% endfor %} {% for drupal in drupal_settings|default([]) %} @@ -127,6 +130,9 @@ redirect: no {% if site.uptime.timeout|default(false) %} timeout: {{ site.uptime.timeout }} {% endif %} +{% if item.header is defined %} + header: {{ item.header|to_json }} +{% endif %} {% endif %} {% endfor %} {% endfor %} @@ -142,5 +148,8 @@ redirect: no {% if site.uptime.timeout|default(false) %} timeout: {{ site.uptime.timeout }} {% endif %} +{% if item.header is defined %} + header: {{ item.header|to_json }} +{% endif %} {% endif %} {% endfor %}