From 51c0f83e4f27b8778e8e8184012eb6e4456a1649 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Sat, 18 Nov 2017 13:42:20 +0100
Subject: [PATCH] Allow PHP fpm read the keys directory

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

diff --git a/templates/haproxy_cfg.jinja2 b/templates/haproxy_cfg.jinja2
index c06c377..9e6476a 100644
--- a/templates/haproxy_cfg.jinja2
+++ b/templates/haproxy_cfg.jinja2
@@ -384,3 +384,13 @@ backend backend_kibana
   acl kibana_auth http_auth(kibana) if kibana_present
   http-request auth realm Kibana if !kibana_auth
 {% endif %}
+
+
+https://cbonte.github.io/haproxy-dconv/1.7/configuration.html#7.1
+https://cbonte.github.io/haproxy-dconv/1.7/configuration.html#7.3.1-map
+https://stackoverflow.com/questions/23001799/how-do-i-used-the-map-feature-in-haproxy-to-build-massive-redirect-tables-1-5/25627447#25627447
+
+http-request redirect location %[capture.req.uri,map(/etc/haproxy/redirect.map)] code 301 if { capture.req.uri,map(/etc/haproxy/redirect.map) -m found }
+
+# Map File:
+/some_old_page.html /some_new_page.html
-- 
GitLab