-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcaddy.yaml
43 lines (43 loc) · 1.16 KB
/
caddy.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
apps:
tls:
certificates:
automate:
- "#{$LIVEKIT_MEET_FQDN}"
- "#{$LIVEKIT_SERVER_FQDN}"
- "#{$LIVEKIT_TURN_FQDN}"
layer4:
servers:
main:
listen: [":443"]
routes:
- match:
- tls:
sni:
- "#{$LIVEKIT_MEET_FQDN}"
handle:
- handler: tls
connection_policies:
- alpn: ["http/1.1", "http/2"]
- handler: proxy
upstreams:
- dial: ["livekit-meet:3000"]
- match:
- tls:
sni:
- "#{$LIVEKIT_SERVER_FQDN}"
handle:
- handler: tls
connection_policies:
- alpn: ["http/1.1"]
- handler: proxy
upstreams:
- dial: ["livekit-server:7880"]
- match:
- tls:
sni:
- "#{$LIVEKIT_TURN_FQDN}"
handle:
- handler: tls
- handler: proxy
upstreams:
- dial: ["livekit-server:5349"]