Messages per Month
| From | Sent On | Attachments |
|---|---|---|
| Alex Egg | Sep 21, 2007 9:54 pm | |
| Igor Sysoev | Sep 21, 2007 11:57 pm | |
| Alex Egg | Sep 22, 2007 12:02 am | |
| Alex Egg | Sep 22, 2007 12:08 am | |
| Igor Sysoev | Sep 22, 2007 12:13 am | |
| Igor Sysoev | Sep 22, 2007 12:17 am | |
| Alex Egg | Sep 22, 2007 12:46 pm | |
| Alex Egg | Sep 22, 2007 4:50 pm | |
| Wayne E. Seguin | Sep 22, 2007 7:09 pm | |
| BJ Clark | Sep 22, 2007 8:18 pm | |
| Igor Sysoev | Sep 22, 2007 11:09 pm | |
| Wayne E. Seguin | Sep 23, 2007 6:18 am | |
| Alex Egg | Sep 23, 2007 9:53 am | |
| Alex Egg | Sep 23, 2007 10:28 am | |
| Denis F. Latypoff | Sep 23, 2007 10:38 am | |
| Igor Sysoev | Sep 23, 2007 10:44 am | |
| Alex Egg | Sep 23, 2007 10:53 am |
| Subject: | Re: forward by sub domain | |
|---|---|---|
| From: | Wayne E. Seguin (wayn...@public.gmane.org) | |
| Date: | Sep 22, 2007 7:09:19 pm | |
| List: | ru.sysoev.nginx | |
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 svn.mydomain.com. 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 svn.mydomain.com?
Try something like this (untested):
upstream svn.mydomain.com { server 0.0.0.0:3000; } ... location / { proxy_pass http://svn.mydomain.com; }
Don't forget about setting the proxy headers also.
~Wayne
s///g Wayne E. Seguin Sr. Systems Architect & Systems Administrator





