source: redirect to reciproka
This commit is contained in:
parent
709ef98f87
commit
1376335e8a
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue