mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
Deduce gatus endpoint group from domain when possible
This commit is contained in:
parent
efe6da5582
commit
dbe87bc88a
7 changed files with 11 additions and 20 deletions
|
|
@ -96,14 +96,10 @@ in
|
|||
|
||||
custom.services.gatus.endpoints = {
|
||||
"Forgejo" = {
|
||||
group = "Public";
|
||||
url = "https://${cfg.domain}/api/healthz";
|
||||
extraConditions = [ "[BODY].status == pass" ];
|
||||
};
|
||||
"Forgejo SSH" = {
|
||||
group = "Public";
|
||||
url = "ssh://${cfg.domain}";
|
||||
};
|
||||
"Forgejo SSH".url = "ssh://${cfg.domain}";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue