forked from mirrors_public/oddlama_nix-config
feat(monitoring): remove location, add nginx upstream monitoring option
This commit is contained in:
parent
2024c3bfd5
commit
18b2002c27
26 changed files with 352 additions and 218 deletions
|
@ -41,9 +41,10 @@ in {
|
|||
|
||||
globals.services.kanidm.domain = kanidmDomain;
|
||||
globals.monitoring.http.kanidm = {
|
||||
url = "https://${kanidmDomain}";
|
||||
location = "home";
|
||||
url = "https://${kanidmDomain}/status";
|
||||
network = "internet";
|
||||
expectedBodyRegex = "true";
|
||||
skipTlsVerification = true;
|
||||
};
|
||||
|
||||
nodes.sentinel = {
|
||||
|
@ -54,6 +55,13 @@ in {
|
|||
zone kanidm 64k;
|
||||
keepalive 2;
|
||||
'';
|
||||
monitoring = {
|
||||
enable = true;
|
||||
path = "/status";
|
||||
expectedBodyRegex = "true";
|
||||
skipTlsVerification = true;
|
||||
useHttps = true;
|
||||
};
|
||||
};
|
||||
virtualHosts.${kanidmDomain} = {
|
||||
forceSSL = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue