From 42ec08507f5da8757a026d1eddd3a4670d2506ee Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Fri, 24 Jan 2025 06:56:35 +0100 Subject: [PATCH] [FIX]Caddy : remote IP logging fix --- caddy/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caddy/common b/caddy/common index 3698490..a003248 100644 --- a/caddy/common +++ b/caddy/common @@ -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" } }