grafana accessible depuis l'extérieur
This commit is contained in:
parent
a4a8fed358
commit
3d5b2d9dda
4 changed files with 9 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
./wiki.nix
|
||||
./webpass.nix
|
||||
./mosquitto.nix
|
||||
./prometheus
|
||||
./monitoring
|
||||
./kfet2mqtt.nix
|
||||
# ./bridge.nix
|
||||
# ./gha.nix
|
||||
|
|
|
@ -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 ];
|
||||
}
|
Loading…
Reference in a new issue