From 4a2e0c7c665b251112e18d76917f8d373ea2c1f7 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 --- 1systems/gum/config.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '1systems/gum/config.nix') diff --git a/1systems/gum/config.nix b/1systems/gum/config.nix index d756a0d6b..8603d7696 100644 --- a/1systems/gum/config.nix +++ b/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