Welcome! Log In Create A New Profile

Advanced

Re: Proxy with URI and params

António P. P. Almeida
January 17, 2012 07:52AM
On 17 Jan 2012 11h27 WET, robsonpeixoto@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

_______________________________________________
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: 130
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