Reputation: 12439
We have 2 servers:
File API on different server and the core API on different. We want to access both over same domain and port, we are using nodeJS
as back-end platform.
So we came up with a solution of proxy server, (see the below illustration):
Now the question is, will http-node-proxy
create bottle neck on the proxy server or it will be a good architecture?
Upvotes: 0
Views: 168
Reputation: 31479
I would suggest using nginx
as a reverse proxy server, and the Node.js apps as upstreams.
There are a lot of articles about this, I think that for example
is a good start.
Upvotes: 1