Answer the question
In order to leave comments, you need to log in
Why is Nginx/Apache needed if there is node.JS?
I understand that node.js is a platform, but also a web server? The site can be run on node, but then why do you need apache or nginx? Is it really possible to compare them? When to use node and when to use another (nginx, apache)?
Answer the question
In order to leave comments, you need to log in
You can also implement all the features of nginx in the node yourself.
Putting nginx in front of your node is easier and more reliable.
To put it bluntly and simply, Node.js serves requests to the API, and Nginx distributes static, usually.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question