forgejo: add in redirection to new provider
This commit is contained in:
parent
46d257c88f
commit
b4113339bf
|
@ -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";};};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue