From 3f873c855fe1b2a71f2b5ca230a54ff2dd289cd6 Mon Sep 17 00:00:00 2001 From: lew Date: Wed, 8 Apr 2026 00:50:00 +0100 Subject: [PATCH] fix: adds health-ping path to shlink web ui --- hosts/lab/shlink.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/hosts/lab/shlink.nix b/hosts/lab/shlink.nix index c959547..7320c3c 100644 --- a/hosts/lab/shlink.nix +++ b/hosts/lab/shlink.nix @@ -29,7 +29,6 @@ services.caddy.virtualHosts."ily.rs" = { extraConfig = '' - redir / https://wynne.rs permanent reverse_proxy localhost:8080 encode zstd gzip ''; @@ -37,9 +36,16 @@ services.caddy.virtualHosts."links.ily.rs" = { extraConfig = '' - import tinyauth - reverse_proxy localhost:8081 - encode zstd gzip + @health path /health-ping + handle @health { + respond 200 + } + + handle { + import tinyauth + reverse_proxy localhost:8081 + encode zstd gzip + } ''; };