1. The problem I’m having:
I’m trying to implement logging for my caddy config with Grafana and so far i have been successful. But the logs do not contain request body or response body.
2. Error messages and/or full log output:
there is no error, I’m trying to implement something new
3. Caddy version: 2.8.4
4. How I installed and ran Caddy:
I use the latest docker image version
a. System environment:
Docker on Ubuntu
b. My complete Caddy config:
{
admin :2019
log {
output stdout
format json
}
servers {
metrics
}
}
example.com {
tls {
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
}
log {
output stdout
format json
}
reverse_proxy /end* app-two:3000
reverse_proxy app-one:3000
}