Welcome! Log In Create A New Profile

Advanced

Re: Proxy with URI and params

January 17, 2012 06:28AM
On Mon, Jan 16, 2012 at 11:04 PM, António P. P. Almeida <appa@perusio.net>wrote:

> On 17 Jan 2012 00h41 WET, appa@perusio.net wrote:
>
> > On 16 Jan 2012 21h54 WET, robsonpeixoto@gmail.com wrote:
> >
> >> [1 <multipart/alternative (7bit)>]
> >> [1.1 <text/plain; UTF-8 (quoted-printable)>]
> >> Thanks Antonio.
> >>
> >> Now the problem is with the images, css and others thinks. When
> >> the site is loaded, it try to download from www.example.com, and
> >> not from www.proxy.com.
> >>
> >> For example, the browser try to get the www.example.com/menu.css,
> >> but the correct is try to download the www.proxy.com/menu.css.
> >
> > Then you need to be clear on what you want.
>
>
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?


> > Perhaps you just and to proxy_pass to another host. Or if you want
> > to have other stuff like images and such try:
> >
> > location /delivery {
> >
> - location ~* /delivery/[^/]*.\(?:css|js|gif|jpe?g|png)$ {
> + location ~* /delivery/[^/]*\.(?:css|js|gif|jpe?g|png)$ {
>
> --- appa
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>



--
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: 119
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready