parent
da442d42e9
commit
cf861eb4fb
5 changed files with 88 additions and 0 deletions
modules/nixos/monitoring
|
@ -3,6 +3,7 @@
|
|||
imports = [
|
||||
inputs.srvos.nixosModules.roles-prometheus
|
||||
./alert-rules.nix
|
||||
./grafana.nix
|
||||
./matrix-hook.nix
|
||||
./prometheus.nix
|
||||
./telegraf.nix
|
||||
|
@ -19,6 +20,10 @@
|
|||
basicAuthFile = config.age.secrets.nginx-basic-auth-file.path;
|
||||
proxyPass = "http://localhost:9093/";
|
||||
};
|
||||
locations."/grafana/" = {
|
||||
proxyPass = "http://localhost:3000/";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
locations."/prometheus/".proxyPass = "http://localhost:9090/";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue