diff --git a/hosts/monitoring/configuration.nix b/hosts/monitoring/configuration.nix index c9e120a..74b761a 100644 --- a/hosts/monitoring/configuration.nix +++ b/hosts/monitoring/configuration.nix @@ -74,6 +74,7 @@ with lib; }; services.prometheus = { enable = true; + retentionTime = "90d"; listenAddress = "[::1]"; scrapeConfigs = [ { @@ -314,25 +315,16 @@ with lib; enable = true; virtualHosts = { "prometheus.bula22.de" = { - serverAliases = [ - "prometheus" - ]; enableACME = true; forceSSL = true; locations."/".proxyPass = "http://[::1]:9090/"; }; "grafana.bula22.de" = { - serverAliases = [ - "grafana" - ]; enableACME = true; forceSSL = true; locations."/".proxyPass = "http://[::1]:3001/"; }; "influxdb.bula22.de" = { - serverAliases = [ - "influxdb" - ]; enableACME = true; forceSSL = true; locations."/".proxyPass = "http://[::1]:8086/";