-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
Description
Say I have a server at example.com and each time a user signs up I want to spin up a new node process that maps to username.example.com, is there an easy way to add this to the route list if I'm using hostname routing, or will I need to just use the custom logic mode?
I'm thinking it'd be handy to be able to do something like this;
var proxy = httpProxy.createServer(options);
proxy.addHost('username.example.com', '127.0.0.1:9000');