Welcome! Log In Create A New Profile

Advanced

proxy log format variables

Posted by w_boba 
proxy log format variables
October 12, 2012 11:33PM
Is there a way to log actual upstream server IP address ? There is a variable "$proxy_host", but it logs "upstream" section name instead of the actual IP address.

edit: I forgot to add. I know, there is "$upstream_addr" variable, but it contains ALL the upstream servers that were checked for the page. And I only need one that has actually returned the page. I do not need those with "HTTP404" response.



Edited 1 time(s). Last edit at 10/12/2012 11:40PM by w_boba.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 307
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready