all repos — nixfiles @ f134b702150f49f8ecaac7d3a1948422fd182592

System and user configuration, managed by nix and home-manager

linde: add health checks to searchix

Alan Pearce
commit

f134b702150f49f8ecaac7d3a1948422fd182592

parent

d9d6a8541ee5b0968719a4cdbe5b3506e3603dee

1 file changed, 4 insertions(+), 1 deletion(-)

jump to
M system/linde.nixsystem/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/*