How to solve CodeIgniter 404 error on Nginx+PHP5 FPM (VestaCP)

Recently, I configured Nginx + PHP FPM using VestaCP on my cloud server. After configuring DNS and all other basic stuff, I deployed a CodeIgniter project on my domain. Deployment…