Skip to content

Commit 95fab6b

Browse files
committed
fix(coderd): prevent agent reverse proxy from using HTTP[S]_PROXY envs
1 parent dc8cf3e commit 95fab6b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

coderd/tailnet.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ func init() {
3737
if !valid {
3838
panic("dev error: default transport is the wrong type")
3939
}
40+
// We do not want to respect the proxy settings from the environment, since
41+
// all network traffic happens over wireguard.
42+
tailnetTransport.Proxy = nil
4043
}
4144

4245
var _ workspaceapps.AgentProvider = (*ServerTailnet)(nil)

0 commit comments

Comments
 (0)