Home  >  Q&A  >  body text

express - What is nginx, what is pm2, are they conflicting? How to configure

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

为情所困为情所困2713 days ago841

reply all(3)I'll reply

  • 仅有的幸福

    仅有的幸福2017-05-16 17:16:43

    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.

    reply
    0
  • 怪我咯

    怪我咯2017-05-16 17:16:43

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

    reply
    0
  • 滿天的星座

    滿天的星座2017-05-16 17:16:43

    Baidu is faster for this kind of problem...

    reply
    0
  • Cancelreply