linde: add health checks to searchix
Alan Pearce alan@alanpearce.eu
Wed, 15 May 2024 22:29:06 +0200
1 files changed, 4 insertions(+), 1 deletions(-)
jump to
M system/linde.nix → system/linde.nix
@@ -691,7 +691,10 @@ }; "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/*