mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-29 07:10:51 +01:00
Added redirections
This commit is contained in:
parent
26e534e032
commit
162e1d990b
1 changed files with 21 additions and 4 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue