grafana accessible depuis l'extérieur

This commit is contained in:
sinavir 2022-04-29 15:20:42 +02:00
parent a4a8fed358
commit 3d5b2d9dda
4 changed files with 9 additions and 1 deletions

View file

@ -13,7 +13,7 @@
./wiki.nix
./webpass.nix
./mosquitto.nix
./prometheus
./monitoring
./kfet2mqtt.nix
# ./bridge.nix
# ./gha.nix

View file

@ -27,6 +27,14 @@
grafana = {
enable = true;
};
services.nginx.virtualHosts."monitoring.new.hackens.org" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:3000";
proxyWebsockets = true;
};
};
};
networking.firewall.allowedTCPPorts = [ 3000 ];
}