search

Home  >  Q&A  >  body text

node.js - 微信小程序有自己的ws协议,用nodejs的话,还需要nginx干嘛呢

用express的话,这里的nginx能发挥什么作用呢,是否可以不用nginx

PHP中文网PHP中文网2874 days ago422

reply all(1)I'll reply

  • 巴扎黑

    巴扎黑2017-04-17 16:12:05

    nginx can do load balancing, offloading, static server, proxy, redirection and other functions. In fact, it is just like the general PHP architecture, with nginx in the front and PHP in the back. Each has its own strengths and needs.

    reply
    0
  • Cancelreply