about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-09-22T13·11+0300
committerflokli <flokli@flokli.de>2023-09-22T17·36+0000
commit2aa0c70245d37e26803ba38268f19da11133bae1 (patch)
treef0754b87f3902131f257d5c5d9a52ac126732d8a /ops
parent80a02f96ce10487a8886ebc00b38cb72b671c0ca (diff)
chore(ops/modules/www/code.tvl.fyi): add missing go get redirect r/6631
This was missing in cl/9370.

Change-Id: I02048b0e65d1192e9e300160bb8f78fe30a70da1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9405
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'ops')
-rw-r--r--ops/modules/www/code.tvl.fyi.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/ops/modules/www/code.tvl.fyi.nix b/ops/modules/www/code.tvl.fyi.nix
index f3edbd3b8730..bef7f3f94d70 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" ''<html><meta name="go-import" content="code.tvl.fyi/tvix/store/protos git https://code.tvl.fyi/depot.git:/tvix/store/protos.git"></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;