File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -485,7 +485,7 @@ func (a *Agent) listenV2(ctx context.Context) error {
485485 return
486486 }
487487
488- ShellHubConnectV2Path := "/connection"
488+ ShellHubConnectV2Path := "/agent/ connection"
489489
490490 logger .Debug ("Using tunnel version 2" )
491491
Original file line number Diff line number Diff line change @@ -368,7 +368,7 @@ server {
368368 proxy_redirect off;
369369 }
370370
371- location /connection {
371+ location /agent/ connection {
372372 set $upstream ssh:8080;
373373
374374 auth_request /auth;
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ const (
3838 // HandleConnectionV2Path is the connection endpoint where agents using yamux/multistream connects to
3939 // establish a WebSocket connection. Subsequent logical streams are opened without additional HTTP
4040 // handshakes and are protocol-negotiated via multistream-select.
41- HandleConnectionV2Path = "/connection"
41+ HandleConnectionV2Path = "/agent/ connection"
4242)
4343
4444const (
You can’t perform that action at this time.
0 commit comments