Suggested in https://github.com/chimurai/http-proxy-middleware/issues/4#issuecomment-119193034 proxyTable option allows you to use a different `option.target` based on `host` request header and optional `path`. Proposal: ``` proxyMiddleware('/api', { target: 'http://www.example.org', proxyTable : { 'foo.com/api': 'http://website.com:8000', 'foo.com': 'http://website.com:8001', 'bar.com': 'http://website2.com:8002' } }); ```
Suggested in #4 (comment)
proxyTable option allows you to use a different
option.targetbased onhostrequest header and optionalpath.Proposal: