T
T
Torento203452021-04-02 00:56:03
Nginx
Torento20345, 2021-04-02 00:56:03

What is the difference in server operation on node js with and without nginx?

What is the difference between node js working without and with nginx?
Do I need to install it and why?

As far as I understand, it is unlikely to somehow speed up the site, because node is already asynchronous and will cope with a bunch of requests, and the speed of transferring files and images will already depend on the speed of the Internet?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Karabanov, 2021-04-02
@Torento20345

The difference is colossal.
Nginx is needed, at a minimum, to:
Efficiently distribute static (JS, CSS, images, fonts, etc.) Cache
responses
Terminate SSL Limit the
number of requests for protection
Act as a load balancer between multiple application instances
Filter HTTP headers / Add HTTP headers
Compress responses

A
Andrey Gavrilov, 2021-04-02
@thexaver

Nginx is used as a reverse proxy to raise ssl

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question