diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-07-19 16:45:24 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-07-19 16:50:30 +0200 |
| commit | 51d0bff0047affa7af8db2b737d5cb4fc8f3d0b5 (patch) | |
| tree | 40b99aa1f265ccff81a83a2be36ebf31feef1e04 /modules/by-name/mo/monitoring | |
| parent | modules/nginx: Enable status page for prometheus exporter (diff) | |
| download | nixos-server-51d0bff0047affa7af8db2b737d5cb4fc8f3d0b5.zip | |
modules/monitoring/scrutiny: Don't expose web-service
This just doesn't make sense, when we also have grafana.
Diffstat (limited to '')
| -rw-r--r-- | modules/by-name/mo/monitoring/components/scrutiny.nix | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/modules/by-name/mo/monitoring/components/scrutiny.nix b/modules/by-name/mo/monitoring/components/scrutiny.nix index 706a7c6..000efac 100644 --- a/modules/by-name/mo/monitoring/components/scrutiny.nix +++ b/modules/by-name/mo/monitoring/components/scrutiny.nix @@ -8,15 +8,6 @@ in { options.vhack.monitoring.scrutiny = { enable = lib.mkEnableOption "scrutiny service"; - - fqdn = lib.mkOption { - type = lib.types.nullOr lib.types.str; - description = '' - If a string, this will be the domain under which the scrutiny web interface will be servced. - - If null, the web interface will not be served and only the prometheus metrics will be accessible. - ''; - }; }; config = lib.mkIf cfg.enable { @@ -79,16 +70,6 @@ in { enable = true; }; }; - - nginx = lib.mkIf (cfg.fqdn != null) { - virtualHosts."${cfg.fqdn}" = { - locations."/".proxyPass = "http://127.0.0.1:${toString config.services.scrutiny.settings.web.listen.port}"; - - enableACME = true; - forceSSL = true; - }; - }; - netdata = { enable = true; config = { |
