Welcome! Log In Create A New Profile

Advanced

Re: Nginx + Thin cluster of 3. Which Thin took the request?

Igor Sysoev
February 17, 2010 06:06AM
On Wed, Feb 17, 2010 at 11:37:03AM +0100, comopasta Gr wrote:

> Hi again,
>
> Thanks for the hints. I was trying to use $upstream_http_... but that
> didn't print out anything.
>
> This is all in development environment so no big loads or anything. Just
> testing the setup.
>
> I actually managed to verify that the cluster is operative. By checking
> with Process.pid that I get responses from the three pids that belong to
> each server of the cluster.
>
> But I would guess that Nginx should know to which app server is
> forwarding the request (?) I a more friendly way...

Try to log $upstream_addr.


--
Igor Sysoev
http://sysoev.ru/en/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx + Thin cluster of 3. Which Thin took the request?

comopasta Gr February 10, 2010 05:42AM

Re: Nginx + Thin cluster of 3. Which Thin took the request?

comopasta Gr February 11, 2010 06:22AM

Re: Nginx + Thin cluster of 3. Which Thin took the request?

Luca De Marinis February 11, 2010 06:40AM

Re: Nginx + Thin cluster of 3. Which Thin took the request?

Maxim Dounin February 11, 2010 06:46AM

Re: Nginx + Thin cluster of 3. Which Thin took the request?

comopasta Gr February 17, 2010 05:40AM

Re: Nginx + Thin cluster of 3. Which Thin took the request?

Igor Sysoev February 17, 2010 06:06AM

Re: Nginx + Thin cluster of 3. Which Thin took the request?

comopasta Gr February 17, 2010 07:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 261
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