This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
Nginx 本身运行良好,并且可能比 Apache 快得多。它还使用更少的资源(RAM、CPU)。话虽这么说,Apache 带来了一些好处,即简化了某些场景的部署(并且 2.4 具有引人注目的缓存功能)。
Nginx 与 Apache 是一种错误的二分法。 Nginx 让 Apache 变得更好。无论如何,将 Nginx 放在前面,但如果 Apache 适合您的需求,也不要完全放弃它。
Nginx works great by itself and will likely be much faster than Apache. It also uses far less resources (RAM, CPU). That being said, Apache brings some goods to the table, namely simplified deployment for some scenarios (and 2.4 has compelling caching features).
Nginx vs Apache is a false dichotomy. Nginx makes Apache better. By all means, put Nginx out front, but don't write off Apache entirely if it suits your needs.
你打算用你的 Nginx 做什么?如果你只想要一个 Web 服务器,你可以只使用 Nginx,那没问题。
What are you going to do with your Nginx? If you just want a web server you can go with only Nginx, that's fine.