On Mar 19, 2013, at 18:41 , Andreas Weber wrote:

> Im not expert but i think you must specify /cms BEFORE / because "/" will 
> match everything


No. Since "/" and "/cms" are not regex locations, nginx finds the maximum match 
despite
location order. This is why using only non-regex locations allows to create at 
once large and
easy to maintain configurations with a lot of locations.


--
Igor Sysoev
http://nginx.com/services.html

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to