Possible to determine which FastCGI server responded?

Maxim Dounin mdounin at mdounin.ru
Mon Sep 14 11:42:57 MSD 2009


Hello!

On Sun, Sep 13, 2009 at 05:22:03PM -0400, Davy Campano wrote:

> If I have a configuration like this for FastCGI, is it possible to determine
> which server responded to the request?  Is there a variable that would tell
> this that I can use for nginx's log?
> upstream phpservers
> {
>                 server 10.1.1.50:5201;
>                 server 10.1.1.51:5201;
> }

$upstream_addr

http://wiki.nginx.org/NginxHttpUpstreamModule#.24upstream_addr

Maxim Dounin





More information about the nginx mailing list