node-proxy-middleware
node-proxy-middleware copied to clipboard
proxy as middleware
Hello, I propose you to authorize dashes and numbers in the regexp used to rewrite the domain name in cookies. Thanks for your excellent plugin.
This allows middleware further down the stack to be executed.
See malformed cookie issue: https://github.com/gonzalocasas/node-proxy-middleware/issues/64#issue-442874654
Problem: I noticed the following error when sending a malformed cookie TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["set-cookie"] at storeHeader (_http_outgoing.js:411:5) at processHeader (_http_outgoing.js:401:9) at ServerResponse._storeHeader (_http_outgoing.js:312:9) at ServerResponse.writeHead...
It's good in dev mode see how the proxy works, to make debugging much more easy. For now it's black box.
I noticed while trying to use this library in a Grunt instance that, when installed on top of other middlewares, the middlewares further down the stack are not executed. Adding...
Not sure of the implications, but it was useful for me to handle redirects to absolute urls that have no domain by appending the `headers.location` to the `req.originalUrl` minus the...
Hello, I really have fun with proxy-middleware. :-) I want to use websockets (like sockjs) with proxy-middleware. How can I use websockets with proxy-middleware? Thanks.
I have an endpoint `/endpoint` which I want to proxy to, however all my requests get redirected to `/endpoint/` which doesn't exist. It is set up like so: `app.use('/endpoint', proxy('http://somehost.com/endpoint'));`...
Can a glob option be implemented please to proxy for example all `*.go` files to a backend server? ``` var proxyOptions = url.parse('https://localhost:8080/'); proxyOptions.route = '*.go'; ``` It will enable...