node-http-proxy Questions
2
Solved
I have a node server and I am proxying my api requests using http-proxy-middleware, similar to what happens in this post. When I proxy to real production server everything works just fine, but when...
Lapful asked 20/4, 2016 at 13:36
2
How can I view detailed logs of all requests and responses being handled by the proxy used by create-react-app?
I don't only want to log some endpoints. Instead, I want to see everything, in as mu...
Adminicle asked 19/8, 2018 at 5:56
2
Solved
I have an Django app deployed on Heroku, but due to some requirement I had to create a basic nodejs file and I wish to run it on the same dyno.
I googled for solutions but couldnt come up with much...
Tolman asked 6/5, 2017 at 8:15
4
Solved
Here's the module version that I'm using:
$ npm list -g | grep proxy
├─┬ [email protected]
A webservice calls into my machine and my task is to proxy the request to a different url and host...
Nobby asked 4/4, 2013 at 1:22
3
Solved
I am trying to implement the simplest example:
var http = require('http'),
var httpProxy = require('http-proxy');
httpProxy.createServer(function (req, res, proxy) {
//
// I would add logging h...
Underexposure asked 11/6, 2012 at 18:11
2
When the target of the proxy issues a redirect (301 in this case), the proxy forwards that to the client. The client is then redirected to the actual domain and no longer using the proxy. Is there ...
Frequentative asked 11/4, 2016 at 19:21
3
I've also posted this to the relevant issue on http-proxy.
I'm using http-proxy with express so I can intercept requests between my client and api in order to add some cookies for authentication.
...
Harrovian asked 14/4, 2015 at 15:54
3
Solved
I'm using node-http-proxy and want to watch for a particular response
header and rewrite it if necessary. Anyone here have suggestions on to
do this?
My proxy server sits in front of a couple diff...
Insouciance asked 6/10, 2012 at 1:15
4
I'm trying to do something like this:
// Setup prox to handle blog requests
httpProxy.createServer({
hostnameOnly: true,
router: {
'http://localhost': '8080',
'http://localhost/blog': '2368'
...
Rainy asked 6/12, 2013 at 19:7
2
Solved
I have an http-proxy to proxy any website and inject some custom JS file before to serve the HTML back to the client. Whenever I try to access the proxied website, it will hang up or the browser se...
Ski asked 17/3, 2020 at 13:7
1
Solved
Can someone help me understand what is happening in the hundreds of milliseconds before the initial connection?
It happens on every other request only as shown.
The requests are POSTs made to th...
Wad asked 6/5, 2019 at 15:2
5
Solved
I have a simple Express based Node.js web server that I'm using for development of a JavaScript application. I set up the server to use node-http-proxy to proxy API requests the application makes t...
Laughter asked 24/4, 2012 at 2:28
1
Problem statement-
We are using router between internet client and downstream service. Router(service) is written in Node.js. Its responsiiblty is to pass internet client's request to correspondin...
Auguste asked 14/11, 2017 at 20:33
2
Solved
I'm trying to proxy calls to a REST API using http-proxy, but it keeps returning 404 codes.
This is an example call to my API: http://petrpavlik.apiary-mock.com/notes It returns some JSON data.
T...
Brasil asked 28/6, 2014 at 10:1
2
I'm trying to get angular cli's internal webserver (webpack uses node-http-proxy I think) to work with NTLM authentication and coming up short.
I set up the webpack proxy like this:
// in packages....
Mahout asked 24/11, 2016 at 3:51
2
Solved
I'm trying to get a very simple proxy working with node-http-proxy which I would expect to just return the contents of google:
const http = require('http');
const httpProxy = require('http-proxy')...
Olvera asked 19/2, 2016 at 15:39
5
I've node application which done spawn(child process) to and application,
the application have host and port:
var exec = require('child_process').spawn;
var child = exec('start app');
console.log(...
Wylen asked 29/10, 2015 at 14:28
1
I need to able to balance websocket on application level. Lets say forward websocket request on the basis of message I received, decode it on proxy and then using that data send to another socket s...
Apanage asked 16/4, 2016 at 7:36
2
Does Browsersync with http-proxy-middleware work offline if I am proxying to a localhost server?
I have an angular app deployed at localhost:3000 making requests for an api-server deployed at loca...
Photochronograph asked 14/7, 2015 at 11:59
2
I am trying to setup a proxy with an express app to a root path from a specific path in my application:
http://my-domain.com/some/route --> http://another-domain:8000/
I have tried multiple t...
Hewitt asked 23/9, 2014 at 18:25
1
I use node-http proxy module to run application with reverse proxy which is working as expected, in some cases user want to run application immediately which the status of it in progress (the app i...
Caul asked 14/1, 2016 at 11:56
1
Solved
I use reverse proxy from the following module
https://github.com/nodejitsu/node-http-proxy
and I got in err for the following code
proxy.on('error', function (err, req, res) {
res.end('Error oc...
Roxi asked 6/10, 2015 at 20:45
1
I use reverse proxy from the following module in node app-:
https://github.com/nodejitsu/node-http-proxy
My question is whether I need to modify the header for state of reverse proxy to work like...
Balch asked 21/8, 2015 at 11:34
2
Solved
I use the following module and it works fine for reverse proxy
https://github.com/nodejitsu/node-http-proxy
currently I've used the code like the following example
httpProxy.createServer({
target...
Laurentia asked 5/9, 2015 at 17:55
1
Im using the reverse proxy from the following link,
currently Im getting some location and I want to update it(the location),
How can I do that?
proxy.on('proxyRes', function (proxyRes, req, res) ...
Jozef asked 20/8, 2015 at 6:16
1 Next >
© 2022 - 2024 — McMap. All rights reserved.