Add redirections for old domains

This commit is contained in:
Serĉanto de Scio 2019-12-09 15:06:08 +10:00
parent 53a22b6487
commit bda4bcfbe4
Signed by: sercanto
GPG key ID: A4122FF3971B6865

View file

@ -56,6 +56,12 @@
forceSSL = true; # Force SSL forceSSL = true; # Force SSL
locations."/".proxyPass = "http://localhost:3001/"; # Proxy Gitea 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 = { security.acme.certs = {