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

Re: Forwarding to upstream server at port specified in url query paramter

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

Is http://wiki.nginx.org/HttpCoreModule#.24arg_PARAMETER of any use?

Jonathan
--
Jonathan Matthews // Oxford, London, UK
http://www.jpluscplusm.com/contact.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>