From 77d4bf9af305b03e82b0b07819e86842fceab2a6 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Tue, 14 Mar 2017 15:03:47 +0100
Subject: [PATCH] Allow extra settings for proxies

---
 templates/haproxy_cfg.jinja2 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/templates/haproxy_cfg.jinja2 b/templates/haproxy_cfg.jinja2
index b18a9fd..82614a5 100644
--- a/templates/haproxy_cfg.jinja2
+++ b/templates/haproxy_cfg.jinja2
@@ -269,6 +269,9 @@ frontend https_in_{{ cert.ip }}
 {% for external in cert.external|default([]) %}
 
 backend backend_{{ external.key }}
+{% for line in external.extra|default([]) %}
+  {{ line }}
+{% endfor %}
   server server_{{ external.key }} {{ external.server }} check {{ external.options|default('') }}
 {% endfor %}
 {% endfor %}
-- 
GitLab