From 28f76d6a8ea407a574a473cd3353ec7781f5d8de Mon Sep 17 00:00:00 2001
From: David Mehren <dmehren1@gmail.com>
Date: Mon, 2 Mar 2020 11:47:23 +0100
Subject: [PATCH] Add stats config to frontend template

---
 templates/frontend.cfg | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/templates/frontend.cfg b/templates/frontend.cfg
index d823ae0..a93e71a 100644
--- a/templates/frontend.cfg
+++ b/templates/frontend.cfg
@@ -74,6 +74,12 @@ frontend {{ item.name }} {%if item.ip is defined %}{{ item.ip }}{% endif %}{%if
     {% endfor %}
     {% endif -%}
 
+    {% if item.stats is defined %}
+    {% for stat in item.stats %}
+        stats {{ stat }}
+    {% endfor %}
+    {% endif -%}
+
     {%- if item.redirects is defined -%}
     {%- for redirect in item.redirects -%}
         redirect {{ redirect }}
-- 
GitLab