From 90791249ccb42dc8f2acf181e37f1ac9659122bd Mon Sep 17 00:00:00 2001 From: Wilfried OLLIVIER Date: Thu, 19 Mar 2020 16:44:07 +0100 Subject: [PATCH] Add errors --- templates/reverse.caddy.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/reverse.caddy.j2 b/templates/reverse.caddy.j2 index 327d5cb..5c1338d 100644 --- a/templates/reverse.caddy.j2 +++ b/templates/reverse.caddy.j2 @@ -37,4 +37,10 @@ rotate_keep 10 } + errors {{ caddy_logs }}/{{ vhost_name }}/errors.log { + rotate_size 100 + rotate_age 30 + rotate_keep 10 + } + }