From 5fc15066e4fd09881b7da138c7b99850d0b5216e Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Mon, 20 Nov 2017 10:20:56 -0500 Subject: expose munin website --- config/web-server.nix | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) (limited to 'config/web-server.nix') diff --git a/config/web-server.nix b/config/web-server.nix index 84d52be..515dc16 100644 --- a/config/web-server.nix +++ b/config/web-server.nix @@ -35,19 +35,23 @@ locations."@storage" = { root = "/storage/srv/kj.orbekk.com"; extraConfig = '' - autoindex on; - ''; + autoindex on; + ''; }; - locations."/stats" = { - alias = "/var/lib/stats/out/"; - extraConfig = " autoindex on;"; - }; - locations."/systemd" = { - proxyPass = "http://10.0.20.15:11105/"; - }; - locations."/hledger" = { - extraConfig = ''return 302 /hledger/;''; + locations."/stats" = { + alias = "/var/lib/stats/out/"; + extraConfig = "autoindex on;"; }; + locations."/munin" = { + alias = "/var/www/munin/"; + extraConfig = "autoindex on;"; + } + #locations."/systemd" = { + # proxyPass = "http://10.0.20.15:11105/"; + #}; + #locations."/hledger" = { + # extraConfig = ''return 302 /hledger/;''; + #}; # locations."/hledger/" = { # proxyPass = "http://localhost:5000/"; # extraConfig = '' -- cgit v1.2.3