From 565ff901d8c05bd15206a7ffb4ded01aae9fc9d9 Mon Sep 17 00:00:00 2001 From: Romuald du Song Date: Wed, 12 Sep 2018 15:53:59 +0200 Subject: [PATCH] add handling of compression on backend --- templates/backend.cfg | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/backend.cfg b/templates/backend.cfg index 0041608..a259726 100644 --- a/templates/backend.cfg +++ b/templates/backend.cfg @@ -77,6 +77,12 @@ {% endfor -%} {% endif -%} + {%- if item.compression is defined -%} + {%- for option in item.compression -%} + compression {{ option }} + {% endfor -%} + {% endif -%} + {%- if item.timeout is defined -%} {%- for entry in item.timeout -%} timeout {{ entry.param }} {{ entry.value }}