Config help - Reverse Proxy for Virtual Directories

Gavin Kistner phrogz at
Sat Feb 21 08:17:17 MSK 2009

Let me try this again, more tersely:

Why does this (pared down) config...
...give me a 404 when I use a URL like...
...instead of proxying to port 9901 as desired?

What's the right way to set up a virtual directory like this?

The only 'fix' I've found so far is to comment out lines 29 and 32,  
causing all static files to be proxied and served by the proxy app  

More information about the nginx mailing list