update domain name

This commit is contained in:
Lgmrszd 2024-01-16 21:27:49 +03:00
parent 60992dc0cf
commit 248d4825c4
No known key found for this signature in database
GPG key ID: 9396B8BA6FBB14DE

View file

@ -1,7 +1,8 @@
{ pkgs, ... }: { pkgs, ... }:
let let
rootDomain = "lgm-6dcdb488.nip.io"; rootDomain = "lgmrszd.xyz";
gtnhDomain = "gtnh.${rootDomain}"; gtnhDomain = "gtnh.${rootDomain}";
discDomain = "discource.testdrive.${rootDomain}";
akkoDomain = "akko.testdrive.${rootDomain}"; akkoDomain = "akko.testdrive.${rootDomain}";
iceDomain = "ice.testdrive.${rootDomain}"; iceDomain = "ice.testdrive.${rootDomain}";
in in
@ -45,17 +46,18 @@ in
useACMEHost = "${rootDomain}"; useACMEHost = "${rootDomain}";
root = "/var/www/gtnh"; root = "/var/www/gtnh";
}; };
virtualHosts.${akkoDomain} = { virtualHosts.${discDomain} = {
# addSSL = true; forceSSL = true;
useACMEHost = "${rootDomain}";
root = "/var/www/todo";
};
virtualHosts.${akkoDomain} = {
forceSSL = true; forceSSL = true;
# enableACME = true;
useACMEHost = "${rootDomain}"; useACMEHost = "${rootDomain}";
root = "/var/www/todo"; root = "/var/www/todo";
}; };
virtualHosts.${iceDomain} = { virtualHosts.${iceDomain} = {
# addSSL = true;
forceSSL = true; forceSSL = true;
# enableACME = true;
useACMEHost = "${rootDomain}"; useACMEHost = "${rootDomain}";
root = "/var/www/todo"; root = "/var/www/todo";
}; };
@ -81,6 +83,7 @@ in
gtnhDomain gtnhDomain
akkoDomain akkoDomain
iceDomain iceDomain
discDomain
]; ];
}; };
}; };