forward by sub domain

Alex Egg eggie5 at gmail.com
Sat Sep 22 08:54:54 MSD 2007


How can I make nginx forward any request for svn.mydomain.com to localhost:3000?

This is my current upstream snippet:

upstream mongrel {
    server 0.0.0.0:8000;
    server 0.0.0.0:8001;
    server 0.0.0.0:8002;
    # forward svn.mydomain.com to 0.0.0.0:3000 here
  }





More information about the nginx mailing list