From f134b702150f49f8ecaac7d3a1948422fd182592 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 15 May 2024 22:29:06 +0200 Subject: linde: add health checks to searchix --- system/linde.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'system/linde.nix') diff --git a/system/linde.nix b/system/linde.nix index 9cf9d32b..00041ae9 100644 --- a/system/linde.nix +++ b/system/linde.nix @@ -691,7 +691,10 @@ in "searchix.alanpearce.eu" = { useACMEHost = "alanpearce.eu"; extraConfig = '' - reverse_proxy localhost:${toString config.services.searchix.settings.web.port} + reverse_proxy localhost:${toString config.services.searchix.settings.web.port} { + health_uri /health + health_status 2xx + } encode zstd gzip { match { header Content-Type text/* -- cgit 1.4.1