Welcome! Log In Create A New Profile

Advanced

Proxy with URI and params

January 16, 2012 02:58PM
Hi,

I need to make a proxy solution. But I having some problems.

When the type www.example.com/delivery/a/b/c I need to make a proxy to
www.proxy.com/delivery/a/b/c/?var1=A&var2=B

So a did this configuration

location /delivery {
subs_filter http://www.example.com/$uri
http://www.proxy.com/$uri/?var1=A&var2=B;
proxy_pass http://www.proxy.com/$uri/?var1=A&var2=B;
}

Why it not working ?

Thanks and sorry for my English.

--
Robson Roberto Souza Peixoto
Robinho
Master in Computer Science, University of Campinas
Linux Counter #395633
IRC: robsonpeixoto
Twitter: http://twitter.com/rrspba
github: https://github.com/robsonpeixoto
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Proxy with URI and params

robsonpeixoto January 16, 2012 02:58PM

Re: Proxy with URI and params

António P. P. Almeida January 16, 2012 03:08PM

Re: Proxy with URI and params

robsonpeixoto January 16, 2012 04:56PM

Re: Proxy with URI and params

António P. P. Almeida January 16, 2012 07:42PM

Re: Proxy with URI and params

António P. P. Almeida January 16, 2012 08:06PM

Re: Proxy with URI and params

robsonpeixoto January 17, 2012 06:28AM

Re: Proxy with URI and params

António P. P. Almeida January 17, 2012 07:52AM

Re: Proxy with URI and params

robsonpeixoto January 18, 2012 12:42PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 143
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