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 -%}