mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-24 04:40:53 +01:00
feat(luj.fr): add monitor
This commit is contained in:
parent
04f9dd2d7c
commit
7fad180d17
1 changed files with 23 additions and 0 deletions
|
@ -105,6 +105,29 @@ lib.mkMerge [
|
|||
machine.meta.zones."luj.fr".AAAA = [ config.machine.meta.ips.public.ipv6 ];
|
||||
machine.meta.zones."luj.fr".TXT = [ "homepage.luj.luj-static.page" ];
|
||||
|
||||
machine.meta.monitors = {
|
||||
"luj.fr - IPv4" = {
|
||||
url = "https://${config.machine.meta.ips.public.ipv4}";
|
||||
type = "http";
|
||||
accepted_statuscodes = [ "200-299" ];
|
||||
headers = ''
|
||||
{
|
||||
"Host": "luj.fr"
|
||||
}
|
||||
'';
|
||||
};
|
||||
"luj.fr - IPv6" = {
|
||||
url = "https://${config.machine.meta.ips.public.ipv6}";
|
||||
type = "http";
|
||||
accepted_statuscodes = [ "200-299" ];
|
||||
headers = ''
|
||||
{
|
||||
"Host": "luj.fr"
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
# DNS Records from all non local configurations are exported here
|
||||
|
|
Loading…
Add table
Reference in a new issue