-
-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathCaddyfile
More file actions
39 lines (32 loc) · 1 KB
/
Caddyfile
File metadata and controls
39 lines (32 loc) · 1 KB
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
#change this to your domain for where livekit is going to live
{$LIVEKIT_URL} {
#For setting your own cert
tls /etc/caddy/certs/certificate.pem /etc/caddy/certs/private.pem
encode gzip zstd
reverse_proxy dcts-livekit:7880 {
transport http {
versions 1.1
}
}
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
X-Content-Type-Options "nosniff"
X-Frame-Options "DENY"
Referrer-Policy "strict-origin-when-cross-origin"
-Server
}
}
#change this to your domain for the webui to live
{$APP_URL} {
#For setting your own cert
tls /etc/caddy/certs/certificate.pem /etc/caddy/certs/private.pem
encode gzip zstd
reverse_proxy dcts-app:2052
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
X-Content-Type-Options "nosniff"
X-Frame-Options "DENY"
Referrer-Policy "strict-origin-when-cross-origin"
-Server
}
}