source: redirect to reciproka

This commit is contained in:
Serĉanto de Scio 2024-02-28 00:09:54 +10:00
parent 709ef98f87
commit 1376335e8a
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
@ -34,10 +34,24 @@
}
];
services.tmate = {
enable = true;
openFirewall = true;
sshHostname = "tmate.mcwhirter.io";
services = {
tmate = {
enable = true;
openFirewall = true;
sshHostname = "tmate.mcwhirter.io";
};
nginx = {
virtualHosts."source.mcwhirter.io" = {
enableACME = true;
forceSSL = true;
globalRedirect = "reciproka.dev"; # Redirect permanently to the host
};
};
};
security.acme = {
acceptTerms = true;
certs = {"source.mcwhirter.io" = {email = "craige@mcwhirter.io";};};
};
system.stateVersion = "19.03"; # The version of NixOS originally installed