forgejo: add in redirection to new provider

This commit is contained in:
Serĉanto de Scio 2024-05-22 21:52:04 +10:00
parent 46d257c88f
commit b4113339bf
Signed by: sercanto
GPG key ID: A4122FF3971B6865

View file

@ -15,7 +15,7 @@
../profiles/ipv6.nix
../profiles/mastodon.nix
../profiles/matrix.nix
#../profiles/mcwhirter.io.nix
../profiles/mcwhirter.io.nix
../profiles/minecraftServer.nix
../profiles/nextcloud.nix
../profiles/nixpkgs-dev.nix
@ -41,6 +41,11 @@
sshHostname = "tmate.mcwhirter.io";
};
nginx = {
virtualHosts."git.mcwhirter.io" = {
enableACME = true;
forceSSL = true;
globalRedirect = "reciproka.dev"; # Redirect permanently to the host
};
virtualHosts."source.mcwhirter.io" = {
enableACME = true;
forceSSL = true;
@ -51,6 +56,7 @@
security.acme = {
acceptTerms = true;
certs = {"git.mcwhirter.io" = {email = "craige@mcwhirter.io";};};
certs = {"source.mcwhirter.io" = {email = "craige@mcwhirter.io";};};
};