[FIX]Caddy : remote IP logging fix
This commit is contained in:
parent
d88e4cacee
commit
42ec08507f
@ -6,7 +6,7 @@
|
||||
include http.log.access
|
||||
output stdout
|
||||
level INFO
|
||||
format formatted "[35m[{ts}][0m [96m[1m{request>remote_addr}[0m [31m{request>headers>X-Forwarded-For}[0m [33m{request>method}[0m [92m{request>host}[32m{request>uri}[0m [97m{status}[0m [33m{request>headers>User-Agent}[0m [34m{request>headers>Referer}[0m" {
|
||||
format formatted "[35m[{ts}][0m [96m[1m{request>remote_ip}[0m [31m{request>headers>X-Forwarded-For}[0m [33m{request>method}[0m [92m{request>host}[32m{request>uri}[0m [97m{status}[0m [33m{request>headers>User-Agent}[0m [34m{request>headers>Referer}[0m" {
|
||||
time_format "02/01/2006 15:04:05-0700"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user