proxy_pass, dynamic ports upstream
contact at jpluscplusm.com
Thu Nov 15 17:25:15 UTC 2012
On 15 November 2012 16:43, mahhy <nginx-forum at nginx.us> wrote:
> I have a requirement to be able to map a portion of a request URI to a port
> on a set of upstream servers. I'm hoping nginx will be able to solve this
> for me, but so far no luck.
Use a map: http://nginx.org/r/map
You'll probably want to use regular expressions, and run the map based
off $request_uri or $uri.
Jonathan Matthews // Oxford, London, UK
More information about the nginx