Route target paths in Proxy Table? #232

rigolepe opened this Issue Apr 15, 2012 · 3 comments


None yet
3 participants

I've noticed there is currently no support for paths on the target host in a Proxy Table:

var options = {
  router: {
    '': '',
    '': '',
    '': ''

The first route will work, but the second and third will hang on the '/appB' and '/appC' part behind ''. I sometimes have multiple apps in the same servlet container that I wish to proxy. I was able to do that in a Apache reverse proxy configuration and I hoped to be able to do the same with node.

Is any support for this planned?


coderarity commented Apr 18, 2012

Yeah, a lot of people have asked for this. I have a pull request open that would allow it, see nodejitsu/node-http-proxy#218


cronopio commented Jun 5, 2012

@rigolepe 0.8.1 is out, can you test it again to see if still its an issue. Thanks

rigolepe commented Jun 6, 2012

Works as a charm :)

I was using CodeRarity's fix before, but now 0.8.1 does the job as well. Thanks!

@rigolepe rigolepe closed this Jun 6, 2012

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