mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 14:50:40 +02:00
chore: fix body regex
This commit is contained in:
parent
46f0db2d60
commit
c983b43fda
1 changed files with 8 additions and 6 deletions
|
@ -20,11 +20,13 @@ in
|
|||
};
|
||||
|
||||
globals.services.mealie.domain = mealieDomain;
|
||||
globals.monitoring.http.mealie = {
|
||||
url = "https://${mealieDomain}";
|
||||
expectedBodyRegex = ''<title>Mealie<\title>'';
|
||||
network = "home-lan.vlans.services";
|
||||
};
|
||||
# FIXME: internal monitoring not possible because DNS resolves to sentinel
|
||||
# since adguardhome is not active in server's dns
|
||||
# globals.monitoring.http.mealie = {
|
||||
# url = "https://${mealieDomain}";
|
||||
# expectedBodyRegex = ''<title>Mealie'';
|
||||
# network = "home-lan.vlans.services";
|
||||
# };
|
||||
|
||||
environment.persistence."/persist".directories = [
|
||||
{
|
||||
|
@ -62,7 +64,7 @@ in
|
|||
monitoring = {
|
||||
enable = true;
|
||||
expectedStatus = 200;
|
||||
expectedBodyRegex = ''<title>Mealie<\title>'';
|
||||
expectedBodyRegex = ''<title>Mealie'';
|
||||
};
|
||||
};
|
||||
virtualHosts.${mealieDomain} = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue