diff options
author | Alan Pearce | 2024-06-22 12:05:27 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-22 12:05:27 +0200 |
commit | 261501d35522c4bc4927624737ab6ab06a13991e (patch) | |
tree | 3f915e02b117714adc6bc978ddce39affe7b7211 | |
parent | ac9f115812df258b1c083cef11573ed8ba6a4367 (diff) | |
download | nixfiles-261501d35522c4bc4927624737ab6ab06a13991e.tar.lz nixfiles-261501d35522c4bc4927624737ab6ab06a13991e.tar.zst nixfiles-261501d35522c4bc4927624737ab6ab06a13991e.zip |
linde: add health check for ntfy
-rw-r--r-- | system/linde.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/system/linde.nix b/system/linde.nix index 543b6e42..6af420bb 100644 --- a/system/linde.nix +++ b/system/linde.nix @@ -685,7 +685,10 @@ in 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" = { |