mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add flag to disable all direct connections (#7936)
This commit is contained in:
@@ -30,6 +30,16 @@ coder server [flags]
|
||||
|
||||
The URL that users will use to access the Coder deployment.
|
||||
|
||||
### --block-direct-connections
|
||||
|
||||
| | |
|
||||
| ----------- | ---------------------------------------- |
|
||||
| Type | <code>bool</code> |
|
||||
| Environment | <code>$CODER_BLOCK_DIRECT</code> |
|
||||
| YAML | <code>networking.derp.blockDirect</code> |
|
||||
|
||||
Block peer-to-peer (aka. direct) workspace connections. All workspace connections from the CLI will be proxied through Coder (or custom configured DERP servers) and will never be peer-to-peer when enabled. Workspaces may still reach out to STUN servers to get their address until they are restarted after this change has been made, but new connections will still be proxied regardless.
|
||||
|
||||
### --browser-only
|
||||
|
||||
| | |
|
||||
|
||||
Reference in New Issue
Block a user