How do you log proxy_pass in the nginx access log?
Solution 1:
add this to your log_format
$proxy_host
and $upstream_addr
^-courtesy of the commenter, Alex. Just adding here so that folks see it when visiting.
add this to your log_format
$proxy_host
and $upstream_addr
^-courtesy of the commenter, Alex. Just adding here so that folks see it when visiting.