Nested Locations Better???

Dayo nginx-forum at nginx.us
Sun Feb 13 00:22:34 MSK 2011


Igor Sysoev Wrote:
-------------------------------------------------------
> > How about the other way round? Non regex nested
> in regex?
> > 
> >   location ~ set {
> >       location /subset/ {
> >           ...        
> >       }
> >   }
> > 
> > Not likely to be common but possible. Any views?
> 
> You may use it, but do not see any advantage: you
> still have unisolated
> configuration dependences.

I see. Seems to me that there is likely to be limited benefit in nested
two regex based locations as well and that the main potential advantage
would be static and then regex. Is this correct?

Now that I have the debug compiled in, I'll try looking there to see how
things flow as well.

Thanks.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,174517,174556#msg-174556




More information about the nginx mailing list