Welcome! Log In Create A New Profile

Advanced

Re: Nested Locations Better???

February 12, 2011 04:00PM
Hi Igor.


Igor Sysoev Wrote:
-------------------------------------------------------
> The nested locations are better if you
> had to use regex
> locations. Then I usually isolate regex location
> inside usual location:
>
> location /dir/ {
> location ~ ^/dir/(.+)$ {
> ...
> }
> }

How about the other way round? Non regex nested in regex?

location ~ set {
location /subset/ {
...
}
}

Not likely to be common but possible. Any views?

Thanks
Subject Author Posted

Nested Locations Better???

Dayo February 12, 2011 02:33PM

Re: Nested Locations Better???

Igor Sysoev February 12, 2011 03:22PM

Re: Nested Locations Better???

Dayo February 12, 2011 03:47PM

Re: Nested Locations Better???

Igor Sysoev February 12, 2011 03:56PM

Re: Nested Locations Better???

Dayo February 12, 2011 04:00PM

Re: Nested Locations Better???

Igor Sysoev February 12, 2011 04:12PM

Re: Nested Locations Better???

Dayo February 12, 2011 04:22PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 63
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready