diff options
-rw-r--r-- | ops/modules/www/code.tvl.fyi.nix | 6 |
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; |