Setting Keepalive_timeout for specific location.

Kim Yong limkimyong at gmail.com
Thu Jul 18 10:15:00 UTC 2013


Okay seems like location works for 1.2.x. Now I have another battle to
fight :|


On Thu, Jul 18, 2013 at 5:40 PM, Kim Yong <limkimyong at gmail.com> wrote:

> Well it went through configtest. and that turned out okay. upgrading nginx
> would require me to run through the QA gauntlet. Just as equally unpleasant.
>
>
> On Thu, Jul 18, 2013 at 5:35 PM, Jeffrey 'jf' Lim <jfs.world at gmail.com>wrote:
>
>> On Thu, Jul 18, 2013 at 5:28 PM, Kim Yong <limkimyong at gmail.com> wrote:
>> > So says the documentation.
>>
>> yup. I would dig into the source... but I think the wiki should be
>> accurate. For the most recent version of nginx, of course! (which is
>> why I asked about your version) I wouldnt be surprised if the older
>> versions dont have the directive at the location level. Only certain
>> directives were available at that level iirc.
>>
>>
>> > But I have yet to see any working config using
>> > location directive.
>> > I'm using a fairly old 1.0.15-2 off epel. No joy. wouldn't want to
>> upgrade
>> > my webclusters... that could open other cans of worms.
>> >
>>
>> eh... no kidding? IF you really, really have to stick to that version,
>> perhaps a chain of nginxes might work.
>>
>> -jf
>>
>>
>> >
>> > On Thu, Jul 18, 2013 at 5:15 PM, Jeffrey 'jf' Lim <jfs.world at gmail.com>
>> > wrote:
>> >>
>> >> On Thu, Jul 18, 2013 at 5:06 PM, Kim Yong <limkimyong at gmail.com>
>> wrote:
>> >> > Hi I'd like to know if setting keepalive for a specific location is
>> >> > possible. Right now I have only managed to get it working on server
>> {}
>> >> > directive but not location {} directive.
>> >> >
>> >>
>> >> it seems possible according to the docs.
>> >> http://wiki.nginx.org/HttpCoreModule#keepalive_timeout indicates that
>> >> you can use the directive in a location as well.
>> >>
>> >> What version of nginx is this, and what behaviour are you seeing?
>> >>
>> >> -jf
>> >>
>> >> --
>> >> He who settles on the idea of the intelligent man as a static entity
>> >> only shows himself to be a fool.
>> >>
>> >> "Every nonfree program has a lord, a master --
>> >> and if you use the program, he is your master."
>> >>     --Richard Stallman
>> >>
>> >> _______________________________________________
>> >> nginx mailing list
>> >> nginx at nginx.org
>> >> http://mailman.nginx.org/mailman/listinfo/nginx
>> >
>> >
>> >
>> >
>> > --
>> > There's no place like ~
>> >
>> > _______________________________________________
>> > nginx mailing list
>> > nginx at nginx.org
>> > http://mailman.nginx.org/mailman/listinfo/nginx
>>
>> _______________________________________________
>> nginx mailing list
>> nginx at nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
>
>
> --
> There's no place like ~
>



-- 
There's no place like ~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130718/ded392ca/attachment.html>


More information about the nginx mailing list