proxy_pass issue

Brian Henson bhenson at
Tue Oct 6 10:12:09 MSD 2009

Try leaving the last / off of the /blog/.  It would be written as //blog/ if 
I'm not mistaken.(please anyone correct me if I'm wrong)

-----Original Message-----
From: owner-nginx at [mailto:owner-nginx at] On Behalf Of Stuart 
Sent: Monday, October 05, 2009 5:36 AM
To: nginx at
Subject: proxy_pass issue

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

Server 1: (Nginx)
Server 2: (Nginx)

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

   location /blog/ {

Visiting the blog url you can see that it does work. However all static
content on 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

Any help greatly appreciated!

Posted via
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5787 bytes
Desc: not available
URL: <>

More information about the nginx mailing list