forked from martinbjeldbak/self-hosted
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCaddyfile
executable file
·99 lines (71 loc) · 1.41 KB
/
Caddyfile
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
*.{$SITE_ADDRESS}
tls {$TLS_EMAIL} {
dns cloudflare {$CLOUDFLARE_API_TOKEN}
}
log {
output file /data/access.log
}
@dns host {$HOSTNAME_DNS}
handle @dns {
reverse_proxy adguardhome:3000
encode gzip
}
@homeassistant host {$HOSTNAME_HOMEASSISTANT}
handle @homeassistant {
reverse_proxy homeassistant:8123
encode gzip
}
@plex host {$HOSTNAME_PLEX}
handle @plex {
reverse_proxy plex:32400
encode gzip
}
@jackett host {$HOSTNAME_JACKETT}
handle @jackett {
reverse_proxy gluetun:9117
encode gzip
}
@radarr host {$HOSTNAME_RADARR}
handle @radarr {
reverse_proxy radarr:7878
encode gzip
}
@lidarr host {$HOSTNAME_LIDARR}
handle @lidarr {
reverse_proxy lidarr:8686
encode gzip
}
@sonarr host {$HOSTNAME_SONARR}
handle @sonarr {
reverse_proxy sonarr:8989
encode gzip
}
@transmission host {$HOSTNAME_TRANSMISSION}
handle @transmission {
reverse_proxy gluetun:9091
encode gzip
}
@bazarr host {$HOSTNAME_BAZARR}
handle @bazarr {
reverse_proxy bazarr:6767
encode gzip
}
@huginn host {$HOSTNAME_HUGINN}
handle @huginn {
reverse_proxy huginn:3000
encode gzip
}
@nas host {$HOSTNAME_NAS}
handle @nas {
reverse_proxy 192.168.1.250:5000
encode gzip
}
@tautulli host {$HOSTNAME_TAUTULLI}
handle @tautulli {
reverse_proxy tautulli:8181
encode gzip
}
# Fallback for otherwise unhandled domains
handle {
abort
}