Proxy with URI and params
Robson Roberto Souza Peixoto
robsonpeixoto at gmail.com
Mon Jan 16 19:56:16 UTC 2012
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120116/a7090226/attachment.html>
More information about the nginx
mailing list