mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: allow disabling stun addresses via env (#7066)
* feat: allow disabling stun addresses via env Resolves #6791 * Specify a dummy access URL so the tunnel wouldn't start * Document --------- Co-authored-by: Kyle Carberry <kyle@carberry.com>
This commit is contained in:
co-authored by
Kyle Carberry
parent
25c1e45930
commit
c6b2861493
+2
-2
@@ -168,8 +168,8 @@ backed by Tailscale and WireGuard.
|
||||
Region name that for the embedded DERP server.
|
||||
|
||||
--derp-server-stun-addresses string-array, $CODER_DERP_SERVER_STUN_ADDRESSES (default: stun.l.google.com:19302)
|
||||
Addresses for STUN servers to establish P2P connections. Set empty to
|
||||
disable P2P connections.
|
||||
Addresses for STUN servers to establish P2P connections. Use special
|
||||
value 'disable' to turn off STUN.
|
||||
|
||||
[1mNetworking / HTTP Options[0m
|
||||
--disable-password-auth bool, $CODER_DISABLE_PASSWORD_AUTH
|
||||
|
||||
+2
-2
@@ -105,8 +105,8 @@ networking:
|
||||
# Region name that for the embedded DERP server.
|
||||
# (default: Coder Embedded Relay, type: string)
|
||||
regionName: Coder Embedded Relay
|
||||
# Addresses for STUN servers to establish P2P connections. Set empty to disable
|
||||
# P2P connections.
|
||||
# Addresses for STUN servers to establish P2P connections. Use special value
|
||||
# 'disable' to turn off STUN.
|
||||
# (default: stun.l.google.com:19302, type: string-array)
|
||||
stunAddresses:
|
||||
- stun.l.google.com:19302
|
||||
|
||||
Reference in New Issue
Block a user