From cb56555159233f453bb42d60f230049adfaa8b7e Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 2 Jan 2023 12:25:16 -0500 Subject: Add m.youtube redirect --- Biz/Cloud/Web.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Biz') diff --git a/Biz/Cloud/Web.nix b/Biz/Cloud/Web.nix index d65ab00..28759c7 100644 --- a/Biz/Cloud/Web.nix +++ b/Biz/Cloud/Web.nix @@ -1,4 +1,4 @@ -{ config, ... }: +{ config, pkgs, ... }: let rootDomain = config.networking.domain; @@ -162,6 +162,11 @@ in useACMEHost = rootDomain; globalRedirect = "youtube.${rootDomain}"; }; + "m.youtube.${rootDomain}" = { + forceSSL = true; + useACMEHost = rootDomain; + globalRedirect = "youtube.${rootDomain}"; + }; "devalloc.io" = { forceSSL = true; @@ -238,6 +243,7 @@ in "www.reddit" "youtube" "www.youtube" + "m.youtube" "sd" "gerrit" ]; -- cgit v1.2.3