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

Posted October 21, 2015 6k views

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!


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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:
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

by Justin Ellingwood
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...