express - What is nginx, what is pm2, are they conflicting? How to configure
为情所困
为情所困 2017-05-16 17:14:43
0
3
871

I hope the explanation is easier to understand. Thank you. By the way, please explain what reverse proxy is.

为情所困
为情所困

reply all(3)
仅有的幸福

The answer comes from the amazing Google

  • PM2 is a very easy-to-use Node.js service startup container. It allows you to keep your applications running forever, with no downtime required to reload them.

  • nginx is a lightweight web server. Compared with Apache, it has the advantages of less memory and high concurrency. Using the epoll model, nginx is very efficient. And can be hot upgraded.

  • A forward proxy is a server located between the client and the origin server. In order to obtain content from the origin server, the client sends a request to the proxy and specifies the target (origin server), and then the proxy forwards it to the origin server. Request and return the obtained content to the client.

  • Reverse proxy In computer networks, a reverse proxy is a type of proxy server. It obtains resources from the back-end server based on the client's request, and then returns these resources to the client. Unlike a forward proxy, which acts as a medium to return resources obtained from the Internet to the associated client, a reverse proxy is used as a proxy on the server side, not the client.

刘奇

A web server and a monitoring tool. That’s it.

滿天的星座

Baidu is faster for this kind of problem...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template