21 lines
358 B
Caddyfile
21 lines
358 B
Caddyfile
|
{
|
||
|
skip_install_trust
|
||
|
# acme_ca https://acme-staging-v02.api.letsencrypt.org/directory
|
||
|
log {
|
||
|
output stdout
|
||
|
format json
|
||
|
}
|
||
|
}
|
||
|
|
||
|
${castopod_domain}:8000 {
|
||
|
handle_path /media/* {
|
||
|
file_server {
|
||
|
root /media
|
||
|
}
|
||
|
}
|
||
|
reverse_proxy {
|
||
|
to ${castopod_container_name}:8000
|
||
|
}
|
||
|
tls internal
|
||
|
}
|