From 81142960980330ef510a5b4ad0973ea3c9535175 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Mon, 10 Aug 2020 21:32:34 +1000 Subject: [PATCH] Shifted to port 3002 --- roles/gitea.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/gitea.nix b/roles/gitea.nix index b08289d..34b7298 100644 --- a/roles/gitea.nix +++ b/roles/gitea.nix @@ -13,7 +13,7 @@ }; domain = "source.mcwhirter.io"; # Domain name rootUrl = "https://source.mcwhirter.io/"; # Root web URL - httpPort = 3001; # Provided unique port + httpPort = 3002; # Provided unique port extraConfig = let docutils = pkgs.python37.withPackages (ps: with ps; [ @@ -64,7 +64,7 @@ virtualHosts."source.mcwhirter.io" = { # Gitea hostname enableACME = true; # Use ACME certs forceSSL = true; # Force SSL - locations."/".proxyPass = "http://localhost:3001/"; # Proxy Gitea + locations."/".proxyPass = "http://localhost:3002/"; # Proxy Gitea }; virtualHosts."git.mcwhirter.io" = { # Hostname to be redirected globalRedirect = "source.mcwhirter.io"; # Redirect permanently to the host