53244678f5290978d19a75ce0f7.../gistfile1.txt

12 lines
501 B
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

log http.log.access {
include http.log.access
output file /var/log/caddy/access.log
format formatted "[{ts}] {request>remote_ip} {request>headers>X-Forwarded-For} {request>method} {request>host}{request>uri} {status} {request>headers>User-Agent} {request>headers>Referer}" {
time_format "02/Jan/2006:15:04:05-0700"
}
}
log {
exclude http.log.access
output file /var/log/caddy/caddy.log
format json
}