Simplify config for gatus endpoints

This commit is contained in:
SebastianStork 2025-06-22 20:44:04 +02:00
parent f65bf51905
commit 6c0ff3393b
9 changed files with 29 additions and 61 deletions

View file

@ -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}";
};
};
}