2022-09-04 08:37:29 -06:00
|
|
|
{
|
|
|
|
email neale@woozle.org
|
|
|
|
|
|
|
|
# Uncomment to use testing CA
|
|
|
|
#acme_ca https://acme-staging-v02.api.letsencrypt.org/directory
|
|
|
|
}
|
|
|
|
|
|
|
|
import /run/secrets/caddy-users
|
|
|
|
|
|
|
|
(restricted-access) {
|
|
|
|
basicauth {
|
|
|
|
import home-users
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
git.woozle.org {
|
|
|
|
reverse_proxy gitea:3000
|
|
|
|
}
|
|
|
|
|
|
|
|
drive.woozle.org {
|
|
|
|
import restricted-access
|
|
|
|
|
|
|
|
# XXX: browsing says method not allowed
|
|
|
|
@get {
|
|
|
|
method GET
|
|
|
|
}
|
|
|
|
# route overrides built-in ordering
|
|
|
|
route {
|
|
|
|
file_server @get browse {
|
|
|
|
root /srv/ext/
|
|
|
|
}
|
|
|
|
reverse_proxy webdav:8000
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# XXX: have this use caddy auth
|
|
|
|
ancestry.woozle.org {
|
|
|
|
reverse_proxy geneweb:2317
|
|
|
|
}
|
|
|
|
|
2022-09-07 16:53:39 -06:00
|
|
|
deergrove.woozle.org, sweetums.woozle.org {
|
2022-09-04 08:37:29 -06:00
|
|
|
handle /transmission/* {
|
|
|
|
import restricted-access
|
|
|
|
reverse_proxy host.docker.internal:9091
|
|
|
|
}
|
|
|
|
handle_path /sucker/* {
|
|
|
|
import restricted-access
|
|
|
|
reverse_proxy host.docker.internal:5880
|
|
|
|
}
|
2022-09-04 17:12:30 -06:00
|
|
|
handle_path /public/* {
|
|
|
|
file_server {
|
|
|
|
root /srv/ext/storage/public
|
|
|
|
}
|
2022-09-04 08:37:29 -06:00
|
|
|
}
|
2022-09-07 16:53:39 -06:00
|
|
|
handle_path /octoprint/* {
|
|
|
|
import restricted-access
|
|
|
|
reverse_proxy {
|
|
|
|
to 192.168.86.36:80
|
|
|
|
header_up X-Script-Name "/octoprint"
|
|
|
|
}
|
|
|
|
}
|
2022-09-04 17:12:30 -06:00
|
|
|
handle {
|
|
|
|
import restricted-access
|
|
|
|
file_server {
|
|
|
|
root /www
|
|
|
|
}
|
2022-09-04 08:37:29 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|