V
V
Vadim Remin2015-11-30 20:37:52
Nginx
Vadim Remin, 2015-11-30 20:37:52

Nginx (proxy) and Node.js on different machines?

Can NGINX forward a request to Node.js on another machine if Node.js doesn't have FastCGI support?
Do I understand correctly that there should not be a problem here, since Node.js is a server in itself and supports TCP / IP without FastCGI?
This is the first time I'm faced with a similar issue. Please answer not in monosyllables (yes / no), but at least slightly disperse the fog.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Zhukov, 2015-11-30
@dkudrin1

yes - you can
location /test/ {
proxy_pass http://123.4.5.6:3000;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question