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