From d9de8eab54e8a711a8fb3851399189fe24c377a4 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Fri, 28 Feb 2020 15:58:41 +0100
Subject: [PATCH] customer/bitegra/mobimo/support#2616 Add support for request
 headers on monitoring http sites

---
 templates/httpcheck.conf | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/templates/httpcheck.conf b/templates/httpcheck.conf
index bdda615..f0a8a34 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 %}
-- 
GitLab