source: redirect to reciproka
This commit is contained in:
parent
709ef98f87
commit
1376335e8a
|
@ -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
|
||||||
|
@ -34,11 +34,25 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
services.tmate = {
|
services = {
|
||||||
|
tmate = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
sshHostname = "tmate.mcwhirter.io";
|
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
|
system.stateVersion = "19.03"; # The version of NixOS originally installed
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue