Disabling access logs from HW Load Balancers
Igor Sysoev
is at rambler-co.ru
Fri Sep 28 09:29:34 MSD 2007
On Thu, Sep 27, 2007 at 11:08:41PM -0600, Corey Donohoe wrote:
> On 9/27/07, Igor Sysoev <is at rambler-co.ru> wrote:
> > 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/
> >
> >
>
> Still logging... I have multiple error_page definitions in my server
> block, would that make a difference? nginx 0.6.6
You are right, it had been changed some time ago, I could not find
exact version right now. The reason is a client has closed connection, so
nginx does not process error_page redirection at all.
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list