mroggy85/caddy
Caddy with transform-encoder plugin which enables you to use common_log. https://okuno.se/blog/
21
Read more: https://okuno.se/blog/caddy-in-docker-with-common-log
From v2.5.0
, Caddy no longer supports common_log
log format. This image includes it.
Caddy with transform-encoder plugin which enables you to use common_log
log format. It enables you to write this in your Caddyfile:
log {
format transform "{common_log}"
output file /var/log/homepage.log
}
Which will make your log files look like this (the IP is just an example):
211.6.12.144 - - [13/Jul/2022:18:28:43 +0000] "GET / HTTP/2.0" 304 0
211.6.12.144 - - [13/Jul/2022:18:28:44 +0000] "GET /api/session HTTP/2.0" 200 39
Read more: https://okuno.se/blog/caddy-in-docker-with-common-log
docker pull mroggy85/caddy