diff options
author | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2017-11-20 10:20:56 -0500 |
---|---|---|
committer | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2017-11-20 10:20:56 -0500 |
commit | 5fc15066e4fd09881b7da138c7b99850d0b5216e (patch) | |
tree | b086ae4b685007e7313213c6d1728b2fba9667ca | |
parent | a6f565d7aef5c6abe68341a50a83e21a26f41167 (diff) |
expose munin website
-rw-r--r-- | config/web-server.nix | 26 |
1 files changed, 15 insertions, 11 deletions
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 = '' |