Home  >  Q&A  >  body text

Under what circumstances should Apache and Nginx be used?

Under what circumstances should these two proxy servers be used? I have read many articles describing these two differences, but I still feel confused. In fact, I just want to know under what circumstances I should use these two different proxy servers.

A note here:
All my static files are deployed to the CDN acceleration platform, and I am only considering using it as a PHP script processing server.

巴扎黑巴扎黑2713 days ago638

reply all(4)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-05-16 17:02:28

    Be familiar with which one to use, first meet the business needs, then try every means to get nginx, and then migrate!

    In fact, nginx’s asynchronous IO model can improve the performance of static file access, which is worth using. There are also scalability nginx lua and openresty

    reply
    0
  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-16 17:02:28

    If you have the conditions, use nginx. If there are no conditions, you should use nginx if you create the conditions. Just use it.

    reply
    0
  • 给我你的怀抱

    给我你的怀抱2017-05-16 17:02:28

    Apache came out earlier, nginx came out later.
    If your website is not very large, there is no difference

    reply
    0
  • 巴扎黑

    巴扎黑2017-05-16 17:02:28

    Just nginx, that’s right

    reply
    0
  • Cancelreply