From 248d4825c4e6a0072941b95615fca44bd98c5521 Mon Sep 17 00:00:00 2001 From: Lgmrszd Date: Tue, 16 Jan 2024 21:27:49 +0300 Subject: [PATCH] update domain name --- hosts/vps1/configuration.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/hosts/vps1/configuration.nix b/hosts/vps1/configuration.nix index 917cd65..b232b1a 100644 --- a/hosts/vps1/configuration.nix +++ b/hosts/vps1/configuration.nix @@ -1,7 +1,8 @@ { pkgs, ... }: let - rootDomain = "lgm-6dcdb488.nip.io"; + rootDomain = "lgmrszd.xyz"; gtnhDomain = "gtnh.${rootDomain}"; + discDomain = "discource.testdrive.${rootDomain}"; akkoDomain = "akko.testdrive.${rootDomain}"; iceDomain = "ice.testdrive.${rootDomain}"; in @@ -45,17 +46,18 @@ in useACMEHost = "${rootDomain}"; root = "/var/www/gtnh"; }; - virtualHosts.${akkoDomain} = { - # addSSL = true; + virtualHosts.${discDomain} = { + forceSSL = true; + useACMEHost = "${rootDomain}"; + root = "/var/www/todo"; + }; + virtualHosts.${akkoDomain} = { forceSSL = true; - # enableACME = true; useACMEHost = "${rootDomain}"; root = "/var/www/todo"; }; virtualHosts.${iceDomain} = { - # addSSL = true; forceSSL = true; - # enableACME = true; useACMEHost = "${rootDomain}"; root = "/var/www/todo"; }; @@ -81,6 +83,7 @@ in gtnhDomain akkoDomain iceDomain + discDomain ]; }; };