about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2024-04-28T14·35+0300
committerclbot <clbot@tvl.fyi>2024-04-28T14·40+0000
commitd816b18fa6a4e866add3bc6efc88c730ecfaae53 (patch)
tree482d58e5034e4a3abf5653ef277159a2ac74f31c
parentf169cc273d305ad6653664b45a52b849bf975b60 (diff)
chore(tazj.in): add a convenience redirect r/8022
Change-Id: Ia41fbff390a2b1df0926ab33e9f4f66b1fd92512
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11533
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
-rw-r--r--ops/modules/www/tazj.in.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/ops/modules/www/tazj.in.nix b/ops/modules/www/tazj.in.nix
index 3b80222e0d66..ea3cf1dc44ab 100644
--- a/ops/modules/www/tazj.in.nix
+++ b/ops/modules/www/tazj.in.nix
@@ -33,6 +33,11 @@
           return 302 https://predlozhnik.ru;
         }
 
+        # redirect for easier entry on a TV
+        location = /tv {
+          return 302 https://tazj.in/blobs/play.html
+        }
+
         # Temporary place for serving static files.
         location /blobs/ {
           alias /var/lib/tazjins-blobs/;