turn server tls (#38)

* tls

* acm

* use cert/key files

* turn -> turns

* turn cert config

* updates

* move panic

* tidy

* final updates
This commit is contained in:
David Colburn
2021-07-01 17:00:49 -05:00
committed by GitHub
parent 4e6eafa63c
commit e543aaa98a
7 changed files with 74 additions and 57 deletions
+16
View File
@@ -65,3 +65,19 @@ keys:
# update_interval: 500
# # to prevent speaker updates from too jumpy, smooth out values over N samples
# smooth_samples: 5
# turn server
turn:
# Uses TLS. Requires cert and key pem files by either:
# - using turn.secretName if deploying with our helm chart, or
# - setting LIVEKIT_TURN_CERT and LIVEKIT_TURN_KEY env vars with file locations, or
# - using cert_file and key_file below
# defaults to false
enabled: false
# needs to match tls cert domain
domain: turn.myhost.com
# defaults to 3478 - if not using a load balancer, this must be set to 443
tls_port: 3478
# optional
# cert_file: /path/to/cert.pem
# key_file: /path/to/key.pem