Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: Need to proxypass to different servers.

$
0
0
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

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>