Update src/docs/markdown/caddyfile/directives/log_append.md

This commit is contained in:
Francis Lavoie 2024-10-11 10:28:57 -04:00 committed by GitHub
parent 91ea704e99
commit 3c63ed7488
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,9 +49,9 @@ example.com {
reverse_proxy node1:80 node2:80 node3:80 { reverse_proxy node1:80 node2:80 node3:80 {
lb_policy random_choose 2 lb_policy random_choose 2
} }
log_append upstream-host "{http.reverse_proxy.upstream.host}" log_append upstream_host {rp.upstream.host}
log_append upstream-duration-ms "{http.reverse_proxy.upstream.duration_ms}" log_append upstream_duration_ms {rp.upstream.duration_ms}
log_append upstream-latency-ms "{http.reverse_proxy.upstream.latency_ms}" log_append upstream_latency_ms {rp.upstream.latency_ms}
} }
} }
``` ```