[FIX]Caddy : remote IP logging fix

This commit is contained in:
Fabien BOURGEOIS 2025-01-24 06:56:35 +01:00
parent d88e4cacee
commit 42ec08507f

View File

@ -6,7 +6,7 @@
include http.log.access
output stdout
level INFO
format formatted "[{ts}] {request>remote_addr} {request>headers>X-Forwarded-For} {request>method} {request>host}{request>uri} {status} {request>headers>User-Agent} {request>headers>Referer}" {
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/01/2006 15:04:05-0700"
}
}