linde: add health check for ntfy
Alan Pearce alan@alanpearce.eu
Sat, 22 Jun 2024 12:05:27 +0200
1 files changed, 4 insertions(+), 1 deletions(-)
jump to
M system/linde.nix → system/linde.nix
@@ -685,7 +685,10 @@ useACMEHost = "alanpearce.eu"; extraConfig = '' encode zstd gzip ${security-headers {}} - reverse_proxy localhost${config.services.ntfy-sh.settings.listen-http} + reverse_proxy localhost${config.services.ntfy-sh.settings.listen-http} { + health_uri /v1/health + health_body `"healthy":true` + } ''; }; "searchix.alanpearce.eu" = {