forgejo: add in redirection to new provider
This commit is contained in:
parent
46d257c88f
commit
b4113339bf
|
@ -15,7 +15,7 @@
|
||||||
../profiles/ipv6.nix
|
../profiles/ipv6.nix
|
||||||
../profiles/mastodon.nix
|
../profiles/mastodon.nix
|
||||||
../profiles/matrix.nix
|
../profiles/matrix.nix
|
||||||
#../profiles/mcwhirter.io.nix
|
../profiles/mcwhirter.io.nix
|
||||||
../profiles/minecraftServer.nix
|
../profiles/minecraftServer.nix
|
||||||
../profiles/nextcloud.nix
|
../profiles/nextcloud.nix
|
||||||
../profiles/nixpkgs-dev.nix
|
../profiles/nixpkgs-dev.nix
|
||||||
|
@ -41,6 +41,11 @@
|
||||||
sshHostname = "tmate.mcwhirter.io";
|
sshHostname = "tmate.mcwhirter.io";
|
||||||
};
|
};
|
||||||
nginx = {
|
nginx = {
|
||||||
|
virtualHosts."git.mcwhirter.io" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
globalRedirect = "reciproka.dev"; # Redirect permanently to the host
|
||||||
|
};
|
||||||
virtualHosts."source.mcwhirter.io" = {
|
virtualHosts."source.mcwhirter.io" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
@ -51,6 +56,7 @@
|
||||||
|
|
||||||
security.acme = {
|
security.acme = {
|
||||||
acceptTerms = true;
|
acceptTerms = true;
|
||||||
|
certs = {"git.mcwhirter.io" = {email = "craige@mcwhirter.io";};};
|
||||||
certs = {"source.mcwhirter.io" = {email = "craige@mcwhirter.io";};};
|
certs = {"source.mcwhirter.io" = {email = "craige@mcwhirter.io";};};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue