C
C
Cyril2017-02-10 15:35:12
Nginx
Cyril, 2017-02-10 15:35:12

Is there a need for request forwarding?

Nginx and Node.js are installed on the same physical machine. Moreover, Node.js listens only locally (127.0.0.1).
Is it necessary to route all socket requests addressed to Node.js through Nginx? In Nginx, you can easily forward such requests. Does it provide any benefits?
Or will it only slow down the performance of the web server?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan, 2017-02-10
@LiguidCool

Usually Nginx resolves the connection to the statics and to the node.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question