Added redirections

This commit is contained in:
Julien Malka 2022-07-29 09:30:49 +02:00
parent 26e534e032
commit 162e1d990b
Signed by: Luj
GPG key ID: 6FC74C847011FD83

View file

@ -112,10 +112,10 @@
};
services.openssh.extraConfig = ''
HostCertificate /etc/ssh/ssh_host_ed25519_key-cert.pub
HostKey /etc/ssh/ssh_host_ed25519_key
TrustedUserCAKeys /etc/ssh/ssh_user_key.pub
MaxAuthTries 20
HostCertificate /etc/ssh/ssh_host_ed25519_key-cert.pub
HostKey /etc/ssh/ssh_host_ed25519_key
TrustedUserCAKeys /etc/ssh/ssh_user_key.pub
MaxAuthTries 20
'';
@ -129,6 +129,23 @@
proxyPass = "https://100.74.49.77";
};
};
services.nginx.virtualHosts."link.julienmalka.me" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyWebsockets = true;
proxyPass = "https://100.127.245.71";
};
};
services.nginx.virtualHosts."crypto.saumon.network" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyWebsockets = true;
proxyPass = "https://100.127.245.71";
};
};
system.stateVersion = "21.11";