Welcome! Log In Create A New Profile

Advanced

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

Jonathan Matthews
March 05, 2013 08:20PM
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
Subject Author Posted

Forwarding to upstream server at port specified in url query paramter

dakun March 05, 2013 07:51PM

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

Jonathan Matthews March 05, 2013 08:20PM

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

dakun March 06, 2013 02:04AM

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

Jonathan Matthews March 06, 2013 04:56AM

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

dakun March 06, 2013 01:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 285
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready