As I am planning to start hosting on DigitalOcean soon, I wanted to use ServerPilot to help me get the basics on the VPS then I add vBulletin myself like I do on any other host. I found out that ServerPilot uses a LAMP stack (Linux, Apache, MySQL, PHP-fpm) and adds a layer of Nginx on the top.
That’s a new configuration I never really heard about so I was really wondering what’s better, Nginx over Apache, or just Nginx. Since I am going to use WordPress and vBulletin both have static, and dynamic content so which option should one go with?
I know there is an article here on DigitalOcean that compares Apache to Nginx but it basically compares Apache w/mod_php to Nginx with PHP-fpm which is not really fare. Also nginx as a front layer makes the system behave differently so I wanted someone to explain to me if using nginx alone is better than reverse proxy, and why (along with php-fpm in both cases of course)
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!