From 2aa0c70245d37e26803ba38268f19da11133bae1 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Fri, 22 Sep 2023 16:11:53 +0300 Subject: chore(ops/modules/www/code.tvl.fyi): add missing go get redirect This was missing in cl/9370. Change-Id: I02048b0e65d1192e9e300160bb8f78fe30a70da1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9405 Autosubmit: flokli Reviewed-by: Connor Brewster Reviewed-by: tazjin Tested-by: BuildkiteCI --- ops/modules/www/code.tvl.fyi.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ops') diff --git a/ops/modules/www/code.tvl.fyi.nix b/ops/modules/www/code.tvl.fyi.nix index f3edbd3b87..bef7f3f94d 100644 --- a/ops/modules/www/code.tvl.fyi.nix +++ b/ops/modules/www/code.tvl.fyi.nix @@ -28,6 +28,12 @@ alias ${pkgs.writeText "go-import-metadata.html" ''''}; } + location = /tvix/castore/protos { + if ($args ~* "/?go-get=1") { + return 302 /go-get/tvix/castore/protos; + } + } + location = /tvix/store/protos { if ($args ~* "/?go-get=1") { return 302 /go-get/tvix/store/protos; -- cgit 1.4.1