move alertmanager, prometheus under monitoring.nix-community.org
This commit is contained in:
parent
54b2ff99dc
commit
2e480a6b62
4 changed files with 14 additions and 32 deletions
modules/nixos/monitoring
|
@ -4,4 +4,12 @@
|
|||
./prometheus.nix
|
||||
./telegraf.nix
|
||||
];
|
||||
|
||||
services.nginx.virtualHosts."monitoring.nix-community.org" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/".return = "302 https://nix-community.org/monitoring";
|
||||
locations."/alertmanager/".proxyPass = "http://localhost:9093";
|
||||
locations."/prometheus/".proxyPass = "http://localhost:9090";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue