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?
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.