about summary refs log tree commit diff
path: root/ops/modules/www
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-10-09T14·21+0200
committerclbot <clbot@tvl.fyi>2023-10-09T14·42+0000
commiteb167c71a779b978a1fd4d6cd29fdf47268c578d (patch)
treea0e0a751c1edfed69290849a9af74dd4daeac17f /ops/modules/www
parent8222b40d66c41bfe5f661c43ed3ed4ddce3f93e6 (diff)
fix(ops/code.tvl.fyi): fix josh-proxy cmdline args r/6751
It looks like josh is only listening on v4 currently:

https://github.com/josh-project/josh/blob/1586eab06284ce668779c87f00a1fb5fa9763be0/josh-proxy/src/bin/josh-proxy.rs#L1429

Also, the remote URL to push to is (or became) https://cl.tvl.fyi/a, not
just https://cl.tvl.fyi/, update it

Change-Id: Ic59bc51c28be913d833186c715e9a9eb960bbd6e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9591
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'ops/modules/www')
-rw-r--r--ops/modules/www/code.tvl.fyi.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/ops/modules/www/code.tvl.fyi.nix b/ops/modules/www/code.tvl.fyi.nix
index 7f0479908b06..8d8938bcaef6 100644
--- a/ops/modules/www/code.tvl.fyi.nix
+++ b/ops/modules/www/code.tvl.fyi.nix
@@ -52,7 +52,7 @@
 
         # Git operations on depot.git hit josh
         location /depot.git {
-            proxy_pass http://localhost:${toString config.services.depot.josh.port};
+            proxy_pass http://127.0.0.1:${toString config.services.depot.josh.port};
         }
 
         # Git clone operations on '/' should be redirected to josh now.