diff options
-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 = '' |