Forwarding to upstream server at port specified in url query paramter

Jonathan Matthews contact at
Wed Mar 6 01:19:27 UTC 2013

On 6 March 2013 00:51, dakun <nginx-forum at> wrote:
> I am trying to use the HttpProxyModule to forward traffic to an upstream
> server. The incoming request will be like:
> where p=1234 indicates the upstream port to use.
> For this example I would want to forward to
> How can I achieve this?

Is of any use?

Jonathan Matthews // Oxford, London, UK

More information about the nginx mailing list