diff --git a/roles/gitea.nix b/roles/gitea.nix index f97deca..28eece3 100644 --- a/roles/gitea.nix +++ b/roles/gitea.nix @@ -56,6 +56,12 @@ forceSSL = true; # Force SSL locations."/".proxyPass = "http://localhost:3001/"; # Proxy Gitea }; + virtualHosts."git.mcwhirter.io" = { # Hostname to be redirected + globalRedirect = "source.mcwhirter.io"; # Redirect permanently to the host + }; + virtualHosts."code.mcwhirter.io" = { # Hostname to be redirected + globalRedirect = "source.mcwhirter.io"; # Redirect permanently to the host + }; }; security.acme.certs = {