Need to proxypass to different servers.

Igor Sysoev igor at sysoev.ru
Wed Mar 20 08:42:43 UTC 2013


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130320/82df049a/attachment.html>


More information about the nginx mailing list