From b1c4cd5b1c659853a6b1057786c5e333e5b98604 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 13 Mar 2020 12:49:54 +0100 Subject: [PATCH] ma gum.r: fix cgit.euer.krebsco.de --- makefu/1systems/gum/config.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;