summaryrefslogtreecommitdiff
path: root/hosts/chaski/services
diff options
context:
space:
mode:
authorstuebinm2021-04-18 00:07:04 +0200
committerstuebinm2021-04-18 00:07:04 +0200
commit06c35a0533d57967e08e86a8a65184a723d403e2 (patch)
tree61683952b29205bd0a68189da90254f210c0f210 /hosts/chaski/services
parentf06f4f637752ced86250b10436ece754c6725109 (diff)
copy grafana to flora
Diffstat (limited to 'hosts/chaski/services')
-rw-r--r--hosts/chaski/services/grafana.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/hosts/chaski/services/grafana.nix b/hosts/chaski/services/grafana.nix
index d520b20..affa4ec 100644
--- a/hosts/chaski/services/grafana.nix
+++ b/hosts/chaski/services/grafana.nix
@@ -28,6 +28,7 @@
};
};
+ services.nginx.enable = true;
services.nginx.virtualHosts."scrape.stuebinm.eu" = {
locations."/" = {
proxyPass = "http://localhost:5000";
@@ -36,4 +37,6 @@
enableACME = true;
forceSSL = true;
};
+
+ networking.firewall.allowedTCPPorts = [ 80 443 ];
}