From 34fe6cb58ecd1f1421154ca91a1a7fd0de27f6f8 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 14 Mar 2020 17:08:46 +0100 Subject: ... --- odin.nix | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/odin.nix b/odin.nix index c6d6de1d..1ae5d26c 100644 --- a/odin.nix +++ b/odin.nix @@ -479,12 +479,12 @@ ''; }; - services.bar = { - enable = true; - port = 8082; - approot = "/bar"; - ipFromHeader = true; - }; + # services.bar = { + # enable = true; + # port = 8082; + # approot = "/bar"; + # ipFromHeader = true; + # }; services.nginx = { enable = true; @@ -501,7 +501,7 @@ sslCertificateKey = "/var/lib/ssl/self-signed-key.pem"; locations = { - "/bar".proxyPass = "http://bar/"; + # "/bar".proxyPass = "http://bar/"; "/" = { root = "/srv/media/"; extraConfig = '' @@ -525,9 +525,9 @@ }; upstreams = { - "bar" = { - servers."localhost:${toString config.services.bar.port}"= {}; - }; + # "bar" = { + # servers."localhost:${toString config.services.bar.port}"= {}; + # }; "prometheus" = { servers."${config.services.prometheus2.listenAddress}" = {}; }; -- cgit v1.2.3