From 5ff4c54b2e9a3a07948590b4b32d1a710ae46cc0 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Thu, 18 Apr 2019 11:21:31 +0200
Subject: [PATCH] ansible-inventories/gentner#2265 Add support for URIBAN and
 URIMBAN

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

diff --git a/templates/haproxy_cfg.jinja2 b/templates/haproxy_cfg.jinja2
index b8bce06..201dda9 100644
--- a/templates/haproxy_cfg.jinja2
+++ b/templates/haproxy_cfg.jinja2
@@ -173,6 +173,10 @@ frontend http_in
   use_backend backend_varnish if is_purge
   acl is_ban method BAN
   use_backend backend_varnish if is_ban
+  acl is_uriban method URIBAN
+  use_backend backend_varnish if is_uriban
+  acl is_urimban method URIMBAN
+  use_backend backend_varnish if is_urimban
   acl domain_ignores_varnish hdr(host) -i -n -f /etc/haproxy/ignore_varnish.list
   acl static_content path_end .jpg .jpeg .gif .png .ico .swf .css .js .htm .html .ttf .woff .woff2 .svg .eot
   acl static_content_private path_beg /system/
-- 
GitLab