21 lines
330 B
Caddyfile
21 lines
330 B
Caddyfile
{
|
|
email ${ACME_EMAIL}
|
|
}
|
|
|
|
*.${DOMAIN} {
|
|
tls {
|
|
dns hetzner ${HETZNER_DNS_API_TOKEN}
|
|
}
|
|
|
|
# Reverse proxy to the MadBase Proxy service
|
|
reverse_proxy proxy:8000
|
|
}
|
|
|
|
# Also handle the root domain if needed
|
|
${DOMAIN} {
|
|
tls {
|
|
dns hetzner ${HETZNER_DNS_API_TOKEN}
|
|
}
|
|
reverse_proxy proxy:8000
|
|
}
|