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
|
@ -18,11 +18,6 @@ in {
|
|||
};
|
||||
|
||||
globals.services.loki.domain = lokiDomain;
|
||||
globals.monitoring.http.loki = {
|
||||
url = "https://${lokiDomain}";
|
||||
location = "home";
|
||||
network = "internet";
|
||||
};
|
||||
|
||||
nodes.sentinel = {
|
||||
age.secrets.loki-basic-auth-hashes = {
|
||||
|
@ -38,6 +33,11 @@ in {
|
|||
zone loki 64k;
|
||||
keepalive 2;
|
||||
'';
|
||||
monitoring = {
|
||||
enable = true;
|
||||
path = "/ready";
|
||||
expectedBodyRegex = "^ready";
|
||||
};
|
||||
};
|
||||
virtualHosts.${lokiDomain} = {
|
||||
forceSSL = true;
|
||||
|
@ -80,6 +80,11 @@ in {
|
|||
zone loki 64k;
|
||||
keepalive 2;
|
||||
'';
|
||||
monitoring = {
|
||||
enable = true;
|
||||
path = "/ready";
|
||||
expectedBodyRegex = "^ready";
|
||||
};
|
||||
};
|
||||
virtualHosts.${lokiDomain} = {
|
||||
forceSSL = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue