Using a PURE nginx server VS Apache (with nginx as the reverse proxy)

October 21, 2015 1.3k views
Nginx Apache

I'll try to give as much information as possible - just to be more clear. I'm almost ready with a Classifieds website based on PHP and Mysql. I'm using Centos 6 with Memcached and Opcache.

I've always used Apache as the web-server. And have never really used nginx. But i've been lately reading a lot about it. Some say that PURE nginx beats Apache to the ground. Some say, using nginx as the reverse proxy is the best way, as you include all the goodies from nginx and apply it to Apache.

Given my situation, about a classifieds website, what do you feel would be the best option for a web server? And why?

Your replies are appreciated, thanks!

1 Answer

This question was answered by @BrookDO:


We recently posted an article that compares and contrasts Apache and Nginx, and reading it may be a great way for you make your decision: https://www.digitalocean.com/community/tutorials/apache-vs-nginx-practical-considerations
There isn't an absolute right answer in this case, and the performance differences will depend on a lot of real-world variables that might require some A/B testing on your side, or very specific knowledge of how you've architected and are serving your site.

View the original comment

Apache and Nginx are the two most common open source web servers in the world. Together, they are responsible for serving over 50% of traffic on the internet. Both solutions are capable of handling diverse workloads and working with other software to provide a complete web...
Have another answer? Share your knowledge.