Routing table always requires a host name #350

Closed
chielkunkels opened this Issue Dec 11, 2012 · 3 comments

Projects

None yet

4 participants

@chielkunkels

At the moment when using the router option when using httpProxy.createServer(), each of the entries in that object is required to have a hostname in order to be mapped correctly. It would be awesome if you could map solely based on the path.

If you were to deploy the same code on multiple machines which have slightly different host names, there's not really a way to do this "cleanly" since it's not possible to map based on path alone. Is there any reason this is not allowed at the moment?

I'll see if I can patch it and perhaps send a pull request. In the meantime it would be great to know if there's a specific reason this is currently now allowed.

Thanks

@indexzero
nodejitsu member

Fixed in #380

@Rush

If this is fixed why not close the issue?

@mmalecki mmalecki closed this Sep 15, 2013
@mmalecki

Closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment