node-http-proxy Questions
2
I use this code I want to create proxy that all the application calls to port 3000 will be routed "under the hood" to port 3002
var http = require('http'),
httpProxy = require('http-proxy');
va...
Immiscible asked 10/8, 2015 at 6:43
2
I use the following code and it works
proxy.web(req, res, {
changeOrigin: true,
target: 'http://' + hostname + ':' + port,
ws: true
});
But when I try the following I got error,why?
proxy...
Greet asked 28/7, 2015 at 10:56
2
Solved
I need to create an application that proxies a request from port A to Port B.
For instance if a user connects on port 3000 he will be routed (under the hood) to port 3001, therefore the "original" ...
Auriol asked 18/7, 2015 at 14:6
1
Solved
I have the following code that works great in my local environment. However, when I try to run the same code from a Docker container (via Boot2Docker), I simply cannot get to https://[boot2docker_i...
Walkway asked 5/7, 2015 at 14:57
1
Our servers rely on client certificates to validate access. Right now neither Electron nor NW.JS seem to support client certificates yet, which prevents us from creating an application that can con...
Clarkia asked 19/5, 2015 at 16:52
3
Solved
I'm trying to use the node-http-proxy as a reverse proxy, but I can't seem to get POST and PUT requests to work. The file server1.js is the reverse proxy (at least for requests with the url "/forwa...
Mansized asked 27/2, 2013 at 19:4
2
Solved
Tell me please what is preferable to use for deployment of nodejs applications nginx or node-http-proxy. What is most robust?
The basic features I need are
proxy all requests to non 80 post
loa...
Daryl asked 9/11, 2012 at 13:56
1
Solved
Trying to put in place an http proxy with a custom routing logic using http-proxy 1.4.3, following this tuto and executing the code below:
var httpProxy = require("http-proxy");
var url = require(...
Monarchist asked 17/9, 2014 at 17:16
2
Solved
I have an application that uses websockets via socket.io. For my application I would like to use a separate HTTP server for serving the static content and JavaScript for my application. Therefore, ...
Muscarine asked 7/2, 2014 at 14:3
4
I am designing a website using ember and express over node. Its running in a server, say: SERVER_1.
I have few webservices running in another server, say: SERVER_2.
That is:
website in SERVER_...
Reservation asked 2/12, 2013 at 7:56
3
Solved
Okay, I've spent over a week trying to figure this out to no avail, so if anyone has a clue, you are a hero. This isn't going to be an easy question to answer, unless I am being a dunce.
I am usi...
Crosscheck asked 4/12, 2013 at 6:21
1
I am trying to use node-http-proxy to direct traffic to port 3000 (my rails server) and port 8888 (my nodejs socket.io server). I am using node-http-proxy to act as a reverse proxy sitting on port ...
Tevere asked 9/4, 2012 at 7:19
1
I'm trying to get websockets to also work with node-http-proxy. The difference is i'm using a proxytable:
var options = {
router: {
'a.websterten.com': '127.0.0.1:150',
'b.websterten.com' : '127...
Celebrate asked 12/5, 2013 at 1:34
1
Solved
I'm trying to setup a node-http-proxy that just forwards requests.
In the end this proxy should inject javascript in every website I visit through the browser..
Right now, most pages are forwarde...
Butyrate asked 5/5, 2013 at 22:22
1
I'm writing a node.js proxy server, serving requests to an API on different domain.
I'd like to use node-http-proxy and I have already found a way to modify response headers.
But is there a way...
Tonneau asked 7/12, 2012 at 14:43
1
I'm trying to code a load balancing with node.js and http-proxy. I want a loadBalancer that shares incoming request treatment between 2 servers.
var http = require('http'),
httpProxy = require('htt...
Catabasis asked 28/11, 2012 at 15:58
2
Solved
I'm trying to create a proxy with node-http-proxy in Node.js that checks whether a request is authorized in a mongodb.
Basically, I created a middleware module for the node-http-proxy that I use l...
Lenorelenox asked 26/7, 2012 at 15:4
3
Solved
I'm exploring using the node-http-proxy proxy server so that I can have our proxy server on port 80 forward requests to our app server on port 8000. However, I'm a little confused as to why this is...
Simaroubaceous asked 20/5, 2012 at 20:54
© 2022 - 2024 — McMap. All rights reserved.