Thanks! The Resolver did the trick.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,236969,237020#msg-237020
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Thanks for the advice on $arg_PARAMETER. It allows me to retrieve the
parameter. However I am not able to use it as a port number for proxy_pass.
This shows that I can get the parameter and use it in rewrite:
location /test {
rewrite ^ http://www.google.com/?q=$arg_p;
}
This does not work. Got e
On 6 March 2013 00:51, dakun 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 htt
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 achiev