proxy_pass issue

Stuart Mckeown lists at ruby-forum.com
Mon Oct 5 15:35:34 MSD 2009


Hey guys, first time poster. Struggling to get nginx to proxy_pass
through to another server.

Server 1: http://storecrowd.com/ (Nginx)
Server 2: http://storecrowd.com/blog/ (Nginx)

I've got nginx set up on server 1 to proxy_pass through to IP address
using:

   location /blog/ {
      proxy_pass http://74.207.242.38/
      }

Visiting the blog url you can see that it does work. However all static
content on http://storecrowd.com/blog/ gives a 404 error & as such the
images aren't working.

Is there a better way to do this, or are we missing something in the
proxy_pass?

Any help greatly appreciated!

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





More information about the nginx mailing list