<div><br></div><div class="gmail_quote">On Mon, Jan 16, 2012 at 11:04 PM, António P. P. Almeida <span dir="ltr"><<a href="mailto:appa@perusio.net">appa@perusio.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 17 Jan 2012 00h41 WET, <a href="mailto:appa@perusio.net">appa@perusio.net</a> wrote:<br>
<br>
> On 16 Jan 2012 21h54 WET, <a href="mailto:robsonpeixoto@gmail.com">robsonpeixoto@gmail.com</a> wrote:<br>
><br>
>> [1 <multipart/alternative (7bit)>]<br>
>> [1.1 <text/plain; UTF-8 (quoted-printable)>]<br>
>> Thanks Antonio.<br>
>><br>
>> Now the problem is with the images, css and others thinks. When<br>
>> the site is loaded, it try to download from <a href="http://www.example.com" target="_blank">www.example.com</a>, and<br>
>> not from <a href="http://www.proxy.com" target="_blank">www.proxy.com</a>.<br>
>><br>
>> For example, the browser try to get the <a href="http://www.example.com/menu.css" target="_blank">www.example.com/menu.css</a>,<br>
>> but the correct is try to download the <a href="http://www.proxy.com/menu.css" target="_blank">www.proxy.com/menu.css</a>.<br>
><br>
> Then you need to be clear on what you want.<br><br></div></blockquote><div><br></div><div>I'd like to navigate on <a href="http://www.proxy.com/delivery/.../.../.../">http://www.proxy.com/delivery/.../.../.../</a> using my domain <a href="http://www.example.com/">http://www.example.com/</a>.</div>
<div><br></div><div>So the user will navigate on <a href="http://www.example.com">www.example.com</a> and always show on URL the '<a href="http://www.example.com/delivery/../../.">www.example.com/delivery/../../.</a>.'</div>
<div><br></div><div>It's is possible?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
> Perhaps you just and to proxy_pass to another host. Or if you want<br>
> to have other stuff like images and such try:<br>
><br>
> location /delivery {<br>
><br>
</div>- location ~* /delivery/[^/]*.\(?:css|js|gif|jpe?g|png)$ {<br>
+ location ~* /delivery/[^/]*\.(?:css|js|gif|jpe?g|png)$ {<br>
<div class="HOEnZb"><div class="h5"><br>
--- appa<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Robson Roberto Souza Peixoto<br>Robinho<br>Master in Computer Science, University of Campinas<br>Linux Counter #395633<br>IRC: robsonpeixoto<br>Twitter: <a href="http://twitter.com/rrspba" target="_blank">http://twitter.com/rrspba</a><br>
github: <a href="https://github.com/robsonpeixoto" target="_blank">https://github.com/robsonpeixoto</a><br>