I have a reverse-proxy nginx configuration as follows:
log_format test \'http_x_forwarded_for=$http_x_forwarded_for \'; server { listen 80; proxy_