Proxy with URI and params
António P. P. Almeida
appa at perusio.net
Tue Jan 17 12:50:49 UTC 2012
On 17 Jan 2012 11h27 WET, robsonpeixoto at gmail.com wrote:
> I'd like to navigate on http://www.proxy.com/delivery/.../.../.../
> using my domain http://www.example.com/.
>
> So the user will navigate on www.example.com and always show on URL
> the ' www.example.com/delivery/../../..'
>
> It's is possible?
Yes. Add the proxy_redirect directive:
proxy_redirect http://www.proxy.com/delivery/ http://www.example.com/;
See: http://wiki.nginx.org/HttpProxyModule#proxy_redirect
--- appa
More information about the nginx
mailing list