Disabling access logs from HW Load Balancers

Igor Sysoev is at rambler-co.ru
Fri Sep 28 08:43:04 MSD 2007


On Thu, Sep 27, 2007 at 05:47:16PM -0600, Corey Donohoe wrote:

> Hey Guys,
> 
> Has anyone gotten this,
> http://wiki.codemongers.com/HWLoadbalancerCheckErrors, working with an
> LVS/Keepalived solution?  Does anyone know what version this feature
> became available?  I've tried it with various 0.6.x releases and I'm
> still getting the 400 errors logged.
> 
> Any tips on getting this working?

Try

        location = /400 {
            if ($lb) {
                access_log  off;
+               return 400;
            }
            return 400;
        }

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





More information about the nginx mailing list