mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 19:51:34 +01:00
Simplify config for gatus endpoints
This commit is contained in:
parent
f65bf51905
commit
6c0ff3393b
9 changed files with 29 additions and 61 deletions
|
|
@ -93,13 +93,5 @@ in
|
|||
"d ${config.services.forgejo.customDir}/public 750 ${user} ${group} - -"
|
||||
"L+ ${config.services.forgejo.customDir}/public/robots.txt 750 - - - ${disallow-all-robots}"
|
||||
];
|
||||
|
||||
custom.services.gatus.endpoints = {
|
||||
"Forgejo" = {
|
||||
url = "https://${cfg.domain}/api/healthz";
|
||||
extraConditions = [ "[BODY].status == pass" ];
|
||||
};
|
||||
"Forgejo SSH".url = "ssh://${cfg.domain}";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue