How to set a option within a location block
--[ UxBoD ]--
uxbod at splatnix.net
Wed Jul 7 13:19:43 MSD 2010
----- Original Message -----
> Hello!
>
> On Wed, Jul 7, 2010 at 1:06 PM, --[ UxBoD ]-- <uxbod at splatnix.net>
> wrote:
> > So is it possible to have a location within a location for something
> > like:
> >
> > location /
> > {
> > location ^~ /dav/ {
> > keepalive_timeout 0;
> > }
> > }
> Yes, it is possible.
> You can even have such configuration:
> location /
> {
> ... all configuration ...
> location /dav
> {
> keepalive_timeout 0;
> }
> }
>
Thanks Boris, if the last command is a proxy_redirect and I add that block after it will it be processed ?
--
Thanks, Phil
More information about the nginx
mailing list