Add redirections for old domains
This commit is contained in:
parent
53a22b6487
commit
bda4bcfbe4
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue