"root" directive weirdness

Cliff Wells cliff at develix.com
Fri Jan 22 03:59:00 MSK 2010


On Fri, 2010-01-22 at 02:45 +0200, Marcus Clyne wrote:
> >   
> but using
> 
> location ^~ /users/ {
>     root   /web;
> }
> 
> is more efficient than using
> 
> location /users {
>     root /web;
> }


That's not true.   The regex is less efficient.

Regards,
Cliff





More information about the nginx mailing list