From 4eda628e1cd9a7e4d708c4bcdd817d165fafce3b Mon Sep 17 00:00:00 2001 From: Paul Date: Sun, 28 Jul 2024 17:26:24 +0200 Subject: [PATCH] updated haproxy state --- states/haproxy/templates/haproxy.cfg.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/states/haproxy/templates/haproxy.cfg.j2 b/states/haproxy/templates/haproxy.cfg.j2 index 74dc9ad..70bca26 100644 --- a/states/haproxy/templates/haproxy.cfg.j2 +++ b/states/haproxy/templates/haproxy.cfg.j2 @@ -53,7 +53,7 @@ http-response return status 404 content-type text/html string "

404 not found {%- endmacro -%} {%- macro cache() -%} - http-request cache-use static if { path_end {{ haproxy.config.cache.file_types|join(" ") }} } + http-request cache-use static if { path -m end {{ haproxy.config.cache.file_types|join(" ") }} } http-response cache-store static {%- endmacro -%}