summaryrefslogtreecommitdiffstats
path: root/2configs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-05-24 10:49:34 +0200
committermakefu <github@syntax-fehler.de>2017-05-24 10:49:34 +0200
commitd6c6916fa2e1d69c7d8906c5cf9128dc42795765 (patch)
treed33531fd8f270b1af673e47c7084ac4b76c02422 /2configs
parent2f3914f18edfd1b620d8d26391db46894c95a6f7 (diff)
m 2 central-stats-server: redirect http://stats.makefu.r to grafana
Diffstat (limited to '2configs')
-rw-r--r--2configs/logging/central-stats-server.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/2configs/logging/central-stats-server.nix b/2configs/logging/central-stats-server.nix
index 4f7961f32..602fcc6d0 100644
--- a/2configs/logging/central-stats-server.nix
+++ b/2configs/logging/central-stats-server.nix
@@ -12,7 +12,9 @@ in {
services.grafana.addr = "0.0.0.0";
services.influxdb.enable = true;
-
+ # redirect grafana to stats.makefu.r
+ services.nginx.enable = true;
+ services.nginx.virtualHosts."stats.makefu.r".locations."/".proxyPass = "http://localhost:3000";
# forward these via nginx
services.influxdb.extraConfig = {
meta.hostname = config.krebs.build.host.name;
[cgit] Unable to lock slot /tmp/cgit/f7200000.lock: No such file or directory (2)