Welcome! Log In Create A New Profile

Advanced

Re: conditionally disable keepalives

Maxim Dounin
September 17, 2010 02:52PM
Hello!

On Fri, Sep 17, 2010 at 06:45:33PM +0100, Eugaia wrote:

> On 17/09/2010 17:27, Ryan Malayter wrote:
> >Is it possible to conditionally disable keep-alives via some sort of
> >configuration?
> I would suggest putting the keepalive_timeout directive inside an if
> block, but it's not permitted.
>
> Igor/Maxim : Is there a good reason why keepalive_timeout cannot be
> set inside a server or location if block?

There is a good reason to disable anything but rewrite directives
in "if" blocks.

http://wiki.nginx.org/IfIsEvil

Maxim Dounin

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

conditionally disable keepalives

Ryan Malayter September 17, 2010 12:32PM

Re: conditionally disable keepalives

Cliff Wells September 17, 2010 12:38PM

Re: conditionally disable keepalives

Ryan Malayter September 17, 2010 01:24PM

Re: conditionally disable keepalives

Ryan Malayter September 17, 2010 02:42PM

Re: conditionally disable keepalives

Eugaia September 17, 2010 01:50PM

Re: conditionally disable keepalives

Maxim Dounin September 17, 2010 02:52PM

Re: conditionally disable keepalives

Eugaia September 17, 2010 03:14PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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