Debugging nginx Load Balancer

Anton Yuzhaninov citrin at citrin.ru
Wed Apr 29 11:04:36 MSD 2009


Arun Gupta wrote:
> I'm using nginx 0.6.36 for a load balancing a cluster of GlassFish Gem.
> 
> Is there a debug level or statement that can be added to nginx.conf that
> will log the instance serving the request ?

1. nginx should be build with ./configure --with-debug

2. add ip to debug requests to nginx.conf:

events {
   debug_connection 10.10.1.1;
}

-- 
 Anton Yuzhaninov





More information about the nginx mailing list