From fda7580404fd6573969196aab303792e7db46264 Mon Sep 17 00:00:00 2001 From: lew Date: Tue, 7 Apr 2026 14:33:51 +0100 Subject: [PATCH] feat: remove servers { logs } --- hosts/lab/fail2ban.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/hosts/lab/fail2ban.nix b/hosts/lab/fail2ban.nix index 5ca03bd..523bdaf 100644 --- a/hosts/lab/fail2ban.nix +++ b/hosts/lab/fail2ban.nix @@ -40,12 +40,8 @@ }; }; - # Enable Caddy access logging (to journal via stderr) - services.caddy.globalConfig = '' - servers { - logs - } - ''; + # Each virtualHost already has a `log` block for access logging. + # The global `servers { logs }` directive was removed in Caddy 2.11. environment.etc."fail2ban/filter.d/forgejo.conf".text = '' [Definition]