forward by sub domain

Wayne E. Seguin wayneeseguin at gmail.com
Sun Sep 23 17:19:19 MSD 2007


On Sep 23, 2007, at 02:10 , Igor Sysoev wrote:
>> Is there  way to still proxy the request to localhost:300 but have it
>> appear that it's from svn.mydomain.com?
>
>              proxy_pass  http://localhost:3000;
>              proxy_set_header  Host  svn.mydomain.com;

Awesome, much simpler than what I have been using.

Thank you Igor!

   ~Wayne

s///g
Wayne E. Seguin
Sr. Systems Architect & Systems Administrator

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20070923/fc6801ca/attachment.html>


More information about the nginx mailing list