`(logging) {
log {
format json
level warn
}
}
example.com {
import logging
tls {
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
resolvers 1.1.1.1
}
reverse_proxy :
}
ha.example.com {
import logging
tls {
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
resolvers 1.1.1.1
}
reverse_proxy :
}
adguard.example.com {
import logging
tls {
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
resolvers 1.1.1.1
}
reverse_proxy :
}
`
Great tool that I will be sure to follow! But sadly it is not handling my current compose correctly. This is the result if you import the Caddyfile above.
It reads logging as a reverse proxy, and does not include the import in the output config.

`(logging) {
log {
format json
level warn
}
}
example.com {
import logging
tls {
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
resolvers 1.1.1.1
}
reverse_proxy :
}
ha.example.com {
import logging
tls {
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
resolvers 1.1.1.1
}
reverse_proxy :
}
adguard.example.com {
import logging
tls {
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
resolvers 1.1.1.1
}
reverse_proxy :
}
`
Great tool that I will be sure to follow! But sadly it is not handling my current compose correctly. This is the result if you import the Caddyfile above.
It reads logging as a reverse proxy, and does not include the import in the output config.