about summary refs log tree commit diff
path: root/ops/nixos/www/cs.tvl.fyi.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-04-02T10·52+0200
committertazjin <mail@tazj.in>2021-04-02T11·10+0000
commit817cd6f166af88b73ff7b80e7e70a0689951f731 (patch)
tree76460cc586274775e3b4b370b65a79fa0e3f12bb /ops/nixos/www/cs.tvl.fyi.nix
parentdb80c2d368c8ffae3e9d802245c505d5ca58e73f (diff)
feat(ops/nixos/www): Enable tvl.su aliases for dev tools r/2401
This is not for the domain root though, as that's going to be
something else eventually.

The canonical URLs are the .fyi ones (at least for now), and some of
these tools will eventually generate links that make user sessions
started from *.tvl.su converge on *.tvl.fyi.

Relates to b/98

Change-Id: I1c3bcf72a3063059002e4b0bdd57c269a410a8bc
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2758
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Diffstat (limited to 'ops/nixos/www/cs.tvl.fyi.nix')
-rw-r--r--ops/nixos/www/cs.tvl.fyi.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/ops/nixos/www/cs.tvl.fyi.nix b/ops/nixos/www/cs.tvl.fyi.nix
index ed2adcbf8294..fac814baf064 100644
--- a/ops/nixos/www/cs.tvl.fyi.nix
+++ b/ops/nixos/www/cs.tvl.fyi.nix
@@ -8,6 +8,7 @@
   config = {
     services.nginx.virtualHosts."cs.tvl.fyi" = {
       serverName = "cs.tvl.fyi";
+      serverAliases = [ "cs.tvl.su" ];
       enableACME = true;
       forceSSL = true;