From 9755c7f86d27ef3c418cc3837d8643b8077c21d0 Mon Sep 17 00:00:00 2001 From: Jaculabilis Date: Mon, 16 Jan 2023 05:56:31 +0000 Subject: [PATCH] Add newtab vhost --- machine/empyrean/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/machine/empyrean/default.nix b/machine/empyrean/default.nix index 6cd1367..bd960ca 100644 --- a/machine/empyrean/default.nix +++ b/machine/empyrean/default.nix @@ -83,6 +83,14 @@ "www.ktvb.site" = static-site "www.ktvb.site"; "mirror.alogoulogoi.com" = static-site "mirror.alogoulogoi.com"; "www.alogoulogoi.com" = static-site "www"; + newtab = { + listen = [ { addr = "10.22.20.1"; port = 80; } ]; + root = "/srv/newtab/"; + extraConfig = '' + access_log /var/log/nginx/access_newtab.log; + index index.html; + ''; + }; # Deny all other subdomains "alogoulogoi.com" = { default = true;