From dfd28d637a17d273f6cbfff414acac0bb7d85f3d Mon Sep 17 00:00:00 2001 From: lew Date: Tue, 7 Apr 2026 22:21:32 +0100 Subject: [PATCH] feat: allows health-ping route through for dokuwiki --- hosts/lab/dokuwiki.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/hosts/lab/dokuwiki.nix b/hosts/lab/dokuwiki.nix index 1b51a7a..db94e8e 100644 --- a/hosts/lab/dokuwiki.nix +++ b/hosts/lab/dokuwiki.nix @@ -2,9 +2,16 @@ { services.caddy.virtualHosts."wiki.ily.rs" = { extraConfig = '' - import tinyauth - reverse_proxy localhost:8070 - encode zstd gzip + @health path /health-ping + handle @health { + reverse_proxy localhost:8070 + } + + handle { + import tinyauth + reverse_proxy localhost:8070 + encode zstd gzip + } ''; };