From 17a863831e4323cdffcb17359a5cd6740dbb4839 Mon Sep 17 00:00:00 2001 From: Jaculabilis Date: Thu, 22 Feb 2024 22:37:50 +0000 Subject: [PATCH] empyrean: add vhosts for home service stubs --- machine/empyrean/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/machine/empyrean/default.nix b/machine/empyrean/default.nix index 868bb8c..a06b670 100644 --- a/machine/empyrean/default.nix +++ b/machine/empyrean/default.nix @@ -55,15 +55,23 @@ index index.html; ''; }; + service-stub = { + rejectSSL = true; + locations."/".return = "403"; + }; in { enable = true; recommendedProxySettings = true; virtualHosts = { # Static pages + "home.ktvb.site" = static-site "home.ktvb.site"; "wedding.ktvb.site" = static-site "wedding.ktvb.site"; "www.ktvb.site" = static-site "www.ktvb.site"; "www.alogoulogoi.com" = static-site "www.alogoulogoi.com"; "ecumene.alogoulogoi.com" = static-site "ecumene.alogoulogoi.com"; + # Home service stub domains + "mopidy.home.ktvb.site" = service-stub; + "jellyfin.home.ktvb.site" = service-stub; # mirror revproxy "mirror.alogoulogoi.com" = { enableACME = true;