98 lines
1.5 KiB
Caddyfile
98 lines
1.5 KiB
Caddyfile
{
|
|
email neale@woozle.org
|
|
#debug
|
|
}
|
|
|
|
(restricted-access) {
|
|
forward_auth simpleauth:8080 {
|
|
uri /
|
|
copy_headers X-Simpleauth-Username
|
|
header_down X-Simpleauth-Domain "woozle.org"
|
|
}
|
|
}
|
|
|
|
git.woozle.org {
|
|
reverse_proxy gitea:3000
|
|
}
|
|
|
|
drive.woozle.org {
|
|
import restricted-access
|
|
reverse_proxy webfs:5000
|
|
}
|
|
|
|
media.woozle.org {
|
|
reverse_proxy jellyfin:8096
|
|
}
|
|
|
|
# XXX: have this use caddy auth
|
|
ancestry.woozle.org {
|
|
reverse_proxy geneweb:2317
|
|
}
|
|
|
|
photos.woozle.org {
|
|
import restricted-access
|
|
reverse_proxy pigallery2:80
|
|
}
|
|
|
|
|
|
##
|
|
## handle sends original path
|
|
## handle_path truncates path
|
|
##
|
|
|
|
deergrove.woozle.org {
|
|
import restricted-access
|
|
|
|
handle_path /ddns/* {
|
|
reverse_proxy ddns:8000
|
|
}
|
|
|
|
handle /transmission/* {
|
|
reverse_proxy transmission:9091
|
|
}
|
|
|
|
handle /nzbget/* {
|
|
reverse_proxy nzbget:6789
|
|
}
|
|
|
|
handle /sonarr/* {
|
|
reverse_proxy sonarr:8989
|
|
}
|
|
handle /radarr/* {
|
|
reverse_proxy radarr:7878
|
|
}
|
|
handle /readarr/* {
|
|
reverse_proxy readarr:8787
|
|
}
|
|
handle /lidarr/* {
|
|
reverse_proxy lidarr:8686
|
|
}
|
|
handle /prowlarr/* {
|
|
reverse_proxy prowlarr:9696
|
|
}
|
|
handle /unmanic/* {
|
|
reverse_proxy unmanic:8888
|
|
}
|
|
|
|
handle_path /sucker/* {
|
|
reverse_proxy host.lan:5801
|
|
}
|
|
|
|
handle_path /netdata/* {
|
|
reverse_proxy netdata:19999
|
|
}
|
|
|
|
# Octoprint serves up broken webcam URLs
|
|
uri replace /webcam/ /octoprint/webcam/
|
|
handle_path /octoprint/* {
|
|
reverse_proxy {
|
|
to 192.168.86.20:80
|
|
header_up X-Script-Name "/octoprint"
|
|
}
|
|
}
|
|
|
|
handle {
|
|
reverse_proxy portal:8080
|
|
}
|
|
}
|