got traque.dgnum.eu

This commit is contained in:
catvayor 2024-07-11 11:53:14 +02:00
parent 6632daee85
commit 3b923a51f4
Signed by: lbailly
GPG key ID: CE3E645251AC63F3
3 changed files with 13 additions and 0 deletions

View file

@ -10,6 +10,7 @@
./hardware-configuration.nix
];
boot.kernel.sysctl."net.ipv4.ip_forward" = true;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.supportedFilesystems = [ "bcachefs" ];
@ -69,6 +70,10 @@
vm = "192.168.122.3";
sshport = 22002;
};
"traque.dgnum.eu" = {
vm = "192.168.122.4";
sshport = null;
};
"traque.katvayor.net" = {
vm = "192.168.122.4";
sshport = 22001;

View file

@ -90,6 +90,13 @@ in
enable = true;
virtualHosts = {
"traque.katvayor.net" = {
enableACME = true;
addSSL = true;
locations."/".extraConfig = ''
return 301 https://traque.dgnum.eu$request_uri;
'';
};
"traque.dgnum.eu" = {
enableACME = true;
addSSL = true;
locations = {

View file

@ -65,6 +65,7 @@
"manah.katvayor.net" = null;
"degette.katvayor.net" = 22000;
"traque.katvayor.net" = 22001;
"traque.dgnum.eu" = null;
"betamail.katvayor.net" = 22002;
"test.traque.katvayor.net" = null;
"son.katvayor.net" = null;