开发者

Nginx only or Nginx(reverse proxy) + Apache [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

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 8 years ago.

Improve this question

I just rent a VPS, and I want to install nginx as a server, however, most of the article on the internet is use nginx as a reverse proxy, rather than as a server, what benefit with this configuration?

Is it possible to use 2 nginx (1 as reverse proxy another as server)?

another non-related this topic question, I'm now using cpanel, how can I fully stop apache, because the httpd is always res开发者_StackOverflow社区tart after sometimes, thanks.


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜