summaryrefslogtreecommitdiff
path: root/Biz/Cloud
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2023-01-02 12:25:16 -0500
committerBen Sima <ben@bsima.me>2023-01-02 12:25:16 -0500
commitcb56555159233f453bb42d60f230049adfaa8b7e (patch)
treea698b31ccc12661c6686c32ae74952a10bded004 /Biz/Cloud
parent3ec802e036cba81860dc790b066f22641489110f (diff)
Add m.youtube redirect
Diffstat (limited to 'Biz/Cloud')
-rw-r--r--Biz/Cloud/Web.nix8
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"
];