I'm new with codeigniter, usually i just write native php code but today i got one request project from someone that need to use codeigniter. but, a problem just occur when i start code with CI (codeigniter).

i am usually use, nginx - php - mysql and i have read CI user_guide properly and i just understand how to use that framework. ok, let's face the problem:

location / { # First attempt to serve request as file, then # as directory, then fall back to index.html try_files $uri $uri/ /index.html; # Uncomment to enable naxsi on this location # include /etc/nginx/naxsi.rules }

From the error it looks like there is a loop and index.php is being called repeatedly.

Ensire your error reporting is set to 4 and run the default "Welcome to CodeIgniter".Check your error_log and it should be similar to the results from my error log below.Next, delete the error log and run your http://localhost/index.php/post then check your error log again.