From d2176bb8fb179613cfa997a73199476ed5512071 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 28 Jul 2022 20:08:47 +0300 Subject: feat(ops/www): add predlozhnik redirect on tazj.in otherwise posting this to reddit's /r/russian is not possible, as they ban all links to Russian-affiliated sites Change-Id: I8d23f0961ec7ef097fc2dbdd0aaa178861a19c10 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5992 Reviewed-by: tazjin Tested-by: BuildkiteCI --- ops/modules/www/tazj.in.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ops') diff --git a/ops/modules/www/tazj.in.nix b/ops/modules/www/tazj.in.nix index a53ef904f573..3b80222e0d66 100644 --- a/ops/modules/www/tazj.in.nix +++ b/ops/modules/www/tazj.in.nix @@ -29,6 +29,10 @@ try_files $uri $uri.html $uri/ =404; } + location = /predlozhnik { + return 302 https://predlozhnik.ru; + } + # Temporary place for serving static files. location /blobs/ { alias /var/lib/tazjins-blobs/; -- cgit 1.4.1