Shifted to port 3002

This commit is contained in:
Craige McWhirter 2020-08-10 21:32:34 +10:00
parent 0fa5a9f3d6
commit 8114296098
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -13,7 +13,7 @@
}; };
domain = "source.mcwhirter.io"; # Domain name domain = "source.mcwhirter.io"; # Domain name
rootUrl = "https://source.mcwhirter.io/"; # Root web URL rootUrl = "https://source.mcwhirter.io/"; # Root web URL
httpPort = 3001; # Provided unique port httpPort = 3002; # Provided unique port
extraConfig = let extraConfig = let
docutils = docutils =
pkgs.python37.withPackages (ps: with ps; [ pkgs.python37.withPackages (ps: with ps; [
@ -64,7 +64,7 @@
virtualHosts."source.mcwhirter.io" = { # Gitea hostname virtualHosts."source.mcwhirter.io" = { # Gitea hostname
enableACME = true; # Use ACME certs enableACME = true; # Use ACME certs
forceSSL = true; # Force SSL 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 virtualHosts."git.mcwhirter.io" = { # Hostname to be redirected
globalRedirect = "source.mcwhirter.io"; # Redirect permanently to the host globalRedirect = "source.mcwhirter.io"; # Redirect permanently to the host