mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat(access): monitoring
This commit is contained in:
parent
511a02931a
commit
0397043f88
13 changed files with 323 additions and 94 deletions
|
|
@ -37,6 +37,9 @@ in {
|
|||
nixos.access.freeipa
|
||||
nixos.access.freepbx
|
||||
nixos.access.unifi
|
||||
nixos.access.prometheus
|
||||
nixos.access.grafana
|
||||
nixos.access.loki
|
||||
nixos.access.kitchencam
|
||||
nixos.access.openwebrx
|
||||
nixos.access.deluge
|
||||
|
|
@ -173,6 +176,30 @@ in {
|
|||
virtualHosts.unifi'local.allServerNames
|
||||
];
|
||||
};
|
||||
prometheus = {
|
||||
inherit (nginx) group;
|
||||
domain = virtualHosts.prometheus.serverName;
|
||||
extraDomainNames = mkMerge [
|
||||
virtualHosts.prometheus.otherServerNames
|
||||
virtualHosts.prometheus'local.allServerNames
|
||||
];
|
||||
};
|
||||
mon = {
|
||||
inherit (nginx) group;
|
||||
domain = virtualHosts.grafana.serverName;
|
||||
extraDomainNames = mkMerge [
|
||||
virtualHosts.grafana.otherServerNames
|
||||
virtualHosts.grafana'local.allServerNames
|
||||
];
|
||||
};
|
||||
logs = {
|
||||
inherit (nginx) group;
|
||||
domain = virtualHosts.loki.serverName;
|
||||
extraDomainNames = mkMerge [
|
||||
virtualHosts.loki.otherServerNames
|
||||
virtualHosts.loki'local.allServerNames
|
||||
];
|
||||
};
|
||||
idp = {
|
||||
inherit (nginx) group;
|
||||
domain = virtualHosts.freeipa.serverName;
|
||||
|
|
@ -292,6 +319,21 @@ in {
|
|||
local.denyGlobal = true;
|
||||
ssl.cert.enable = true;
|
||||
};
|
||||
prometheus = {
|
||||
# we're not the real prometheus record-holder, so don't respond globally..
|
||||
local.denyGlobal = true;
|
||||
ssl.cert.enable = true;
|
||||
};
|
||||
grafana = {
|
||||
# we're not the real mon record-holder, so don't respond globally..
|
||||
local.denyGlobal = true;
|
||||
ssl.cert.enable = true;
|
||||
};
|
||||
loki = {
|
||||
# we're not the real logs record-holder, so don't respond globally..
|
||||
local.denyGlobal = true;
|
||||
ssl.cert.enable = true;
|
||||
};
|
||||
home-assistant = {
|
||||
# not the real hass record-holder, so don't respond globally..
|
||||
local.denyGlobal = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue