summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"
];