proxy_pass issue

Igor Sysoev is at rambler-co.ru
Tue Oct 6 16:44:19 MSD 2009


On Tue, Oct 06, 2009 at 02:35:57PM +0200, Stuart Mckeown wrote:

> Igor Sysoev wrote:
> > 
> > It's seems you need
> > 
> >    location /wp-content/uploads/ {
> >        proxy_pass http://74.207.242.38;
> >    }
> 
> Appreciate all the help so far guys :) It's been a tough one to figure 
> out.
> 
> The Proxy pass as you can see passes the URL through but images etc are 
> still not working so I've set things to just load from the IP address in 
> the meantime.
> 
> The problem with that is there's a duplicate copy of the blog on 
> http://74.207.242.38/
> 
> I've tried:
> 
>     location /wp-content/uploads/ {
>         proxy_pass http://74.207.242.38;
>     }
> 
> and
> 
>     location /blog/wp-content/uploads/ {
>         proxy_pass http://74.207.242.38;
>     }
> 
> With no success so far, still getting the 404 errors on the pages.

What is in error_log corresponding to these 404 errors ?


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list