forward by sub domain

Wayne E. Seguin wayneeseguin at
Sun Sep 23 06:09:42 MSD 2007

On Sep 22, 2007, at 19:50 , Alex Egg wrote:
> This works, but the app sitting at localhost:3000 is expecting the
> request to come from Since it sees the domain
> localhost, it errors out.
> Is there  way to still proxy the request to localhost:300 but have it
> appear that it's from

Try something like this (untested):

upstream {
location / {

Don't forget about setting the proxy headers also.


Wayne E. Seguin
Sr. Systems Architect & Systems Administrator

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list