proxy_pass issue

Stuart Mckeown lists at ruby-forum.com
Tue Oct 6 16:35:57 MSD 2009


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.

It's a tricky one I know!

Cheers
Stuart
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list