This commit is contained in:
parent
4a3b05f368
commit
4eda628e1c
@ -53,7 +53,7 @@ http-response return status 404 content-type text/html string "<h1>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 -%}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user