summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--system/linde.nix5
1 files changed, 4 insertions, 1 deletions
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/*