diff options
author | Ben Sima <ben@bsima.me> | 2023-01-02 12:25:16 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2023-01-02 12:25:16 -0500 |
commit | cb56555159233f453bb42d60f230049adfaa8b7e (patch) | |
tree | a698b31ccc12661c6686c32ae74952a10bded004 /Biz/Cloud/Web.nix | |
parent | 3ec802e036cba81860dc790b066f22641489110f (diff) |
Add m.youtube redirect
Diffstat (limited to 'Biz/Cloud/Web.nix')
-rw-r--r-- | Biz/Cloud/Web.nix | 8 |
1 files changed, 7 insertions, 1 deletions
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" ]; |