Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Balancer: multiple hosts and fuzzy host matching #6

Open
logicalparadox opened this issue Jun 6, 2012 · 2 comments
Open

Balancer: multiple hosts and fuzzy host matching #6

logicalparadox opened this issue Jun 6, 2012 · 2 comments
Assignees
Labels
Milestone

Comments

@logicalparadox
Copy link
Member

such at *.something.com or an array of hosts.

@smaftoul
Copy link

smaftoul commented Sep 3, 2013

Would this be hard to implement ?
I would like to make a proxy that changes the host header based on regexp:

'.*.something.com' => 'www.something.com'

And finally:

'.*' => req.header.host // everything that didn't matched yet is redirected to where it were supposed to go.

@logicalparadox
Copy link
Member Author

This module is in limbo right now because of the changes made in node 10 to streams. A big rewrite has just jumped to the top of my list so expect news soon. This feature will be included.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants