Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions dev/leaf.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,15 @@ level = "debug"

[server]
# Listen for QUIC connections on UDP:4444
# Sometimes IPv6 causes issues; try 127.0.0.1:4444 instead.
listen = "[::]:4444"
listen = "0.0.0.0:4444"

# Generate a self-signed certificate for the server.
# You should use a real certificate in production.
tls.generate = ["localhost"]

[web.http]
# Listen for HTTP and WebSocket (TCP) connections on the given address.
listen = "[::]:4444"
listen = "0.0.0.0:4444"

# This clustering scheme is very very simple for now.
#
Expand Down
6 changes: 3 additions & 3 deletions dev/prod.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[server]
# Listen for QUIC connections on UDP:443
# This is the default port for WebTransport
listen = "[::]:443"
listen = "0.0.0.0:443"

[server.tls]
# You'll need to provide a real certificate and key in production.
Expand All @@ -14,11 +14,11 @@ key = "key.pem"

#[web.http]
# Optionally listen for HTTP and WebSocket connections on port 80.
# listen = "[::]:80"
# listen = "0.0.0.0:80"

[web.https]
# Optionally listen for TCP/HTTPS/WSS connections on port 443.
listen = "[::]:443"
listen = "0.0.0.0:443"

# You'll need to provide a real certificate and key in production.
# This can be the exact same certificate and key as the QUIC endpoint.
Expand Down
5 changes: 2 additions & 3 deletions dev/relay.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ level = "debug"

[server]
# Listen for QUIC connections on UDP:4443
# Sometimes IPv6 causes issues; try 127.0.0.1:4443 instead.
listen = "[::]:4443"
listen = "0.0.0.0:4443"

# Generate a self-signed certificate for the given hostnames.
# This is used for local development, in conjunction with a fingerprint, or with TLS verification disabled.
Expand All @@ -19,7 +18,7 @@ tls.generate = ["localhost"]
# Listen for HTTP and WebSocket connections on the given TCP address.
# This is unfortunately required to serve certificate.sha256 for local development.
# However, as a bonus, we can serve tracks via both HTTP and WebSocket fallbacks.
listen = "[::]:4443"
listen = "0.0.0.0:4443"

# See root.toml and leaf.toml for auth and clustering examples.
[auth]
Expand Down
5 changes: 2 additions & 3 deletions dev/root.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ level = "debug"

[server]
# Listen for QUIC connections on UDP:4443
# Sometimes IPv6 causes issues; try 127.0.0.1:4443 instead.
listen = "[::]:4443"
listen = "0.0.0.0:4443"

# Generate a self-signed certificate for the given hostnames.
# This is used for local development, in conjunction with a fingerprint, or with TLS verification disabled.
Expand All @@ -15,7 +14,7 @@ tls.generate = ["localhost"]
[web.http]
# Listen for HTTP and WebSocket (TCP) connections on the given address.
# Defaults to disabled if not provided.
listen = "[::]:4443"
listen = "0.0.0.0:4443"

# In production, we would use a real certificate from something like Let's Encrypt.
# Multiple certificates are supported; the first one that matches the SNI will be used.
Expand Down
Loading