iac/modules/castopod/files/Caddyfile.tftpl

21 lines
358 B
Caddyfile
Raw Normal View History

2025-01-10 15:10:39 +00:00
{
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
}