From d152eb653a2437784382e245d82c13a370d9a58f Mon Sep 17 00:00:00 2001 From: Wilfried OLLIVIER Date: Thu, 19 Mar 2020 16:43:26 +0100 Subject: [PATCH] More generic gzip config --- templates/http.caddy.j2 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/templates/http.caddy.j2 b/templates/http.caddy.j2 index e058712..635d5b5 100644 --- a/templates/http.caddy.j2 +++ b/templates/http.caddy.j2 @@ -20,10 +20,7 @@ root {{ caddy_www }}/{{ vhost_name }} - gzip { - ext .jpg - level 9 - } + gzip {% if custom_errors %} errors {