From 1236ebdb6ce7371868cd5d13d76be58b3124d543 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 13 Mar 2020 10:47:21 +0100 Subject: ma gum.r: disable unused services --- makefu/1systems/gum/config.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'makefu/1systems/gum') diff --git a/makefu/1systems/gum/config.nix b/makefu/1systems/gum/config.nix index 3b084d35a..d756a0d6b 100644 --- a/makefu/1systems/gum/config.nix +++ b/makefu/1systems/gum/config.nix @@ -21,11 +21,12 @@ in { ]; }; } + # - + # @@ -89,8 +90,8 @@ in { # services # - - { krebs.exim.enable = mkForce false; } + # + { krebs.exim.enable = mkDefault true; } # sharing @@ -119,7 +120,7 @@ in { # Removed until move: avoid letsencrypt ban ### Web - # + # @@ -131,10 +132,14 @@ in { # # - + # + + + + -- cgit v1.2.3 From b1c4cd5b1c659853a6b1057786c5e333e5b98604 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 13 Mar 2020 12:49:54 +0100 Subject: ma gum.r: fix cgit.euer.krebsco.de --- makefu/1systems/gum/config.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'makefu/1systems/gum') diff --git a/makefu/1systems/gum/config.nix b/makefu/1systems/gum/config.nix index d756a0d6b..8603d7696 100644 --- a/makefu/1systems/gum/config.nix +++ b/makefu/1systems/gum/config.nix @@ -176,7 +176,8 @@ in { services.nginx.virtualHosts."cgit.euer.krebsco.de" = { forceSSL = true; enableACME = true; - locations."/".proxyPass = "http://cgit.gum.r"; + locations."/".proxyPass = "http://localhost/"; + locations."/".extraConfig = ''proxy_set_header Host cgit;''; }; krebs.build.host = config.krebs.hosts.gum; -- cgit v1.2.3