Category: CodeIgniter
Routing in CodeIgniter with Nginx
Routing in CodeIgniter with Nginx While setting up Codeigniter in Nginx if a 404 error occurs when you have to set Codeigniter for subfolders in Nginx. For that open /etc/Nginx/sites-available/default and then add the following code to the configuration: #Codeigniter in subfolder location/Codeigniter-3-1-4 { try_file $uri $uri/ /Codeigniter-3-1-4/index.php;}