From 041cffb34a9afa03ffdfb1591e09e878531978b3 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Sat, 7 Jan 2023 21:10:56 +0100 Subject: [PATCH] updated haproxy state --- states/haproxy/templates/haproxy.cfg.j2 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/states/haproxy/templates/haproxy.cfg.j2 b/states/haproxy/templates/haproxy.cfg.j2 index 982197b..32a8300 100644 --- a/states/haproxy/templates/haproxy.cfg.j2 +++ b/states/haproxy/templates/haproxy.cfg.j2 @@ -107,9 +107,9 @@ frontend http from {{ haproxy.config.namespace }} ## ACLs acl http ssl_fc,not acl self_host req.hdr(Host) {{ fqdn }} - acl path_root path -m dir / - acl path_host path -m dir /host - acl path_date path -m dir /date + acl path_root path / + acl path_host path_dir /host + acl path_date path_dir /date acl path_srchash path -m dir /srchash ## Basic rules @@ -133,8 +133,8 @@ frontend https from {{ haproxy.config.namespace }} acl robots_txt path /robots.txt acl self_host req.hdr(Host) {{ fqdn }} acl path_root path / - acl path_host path /host - acl path_date path /date + acl path_host path_dir /host + acl path_date path_dir /date acl path_srchash path /srchash ## Basic rules