codeigniter and nginx - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9) +--- Thread: codeigniter and nginx (/showthread.php?tid=63873) |
codeigniter and nginx - artemiy - 12-17-2015 Hello all I'm trying to move codeigniter from apache to nginx I'm using that config https://www.nginx.com/resources/wiki/start/topics/recipes/codeigniter/ main index.php is working for me, but other pages give me 500 error Code: $ curl -X POST http://somedomain.com/some/url/here -Iv In apache that page giving me 200 code my current nginx config Code: worker_processes 1; and I'm starting php-fpm with bat file Code: @echo off Thanks RE: codeigniter and nginx - josepostiga - 01-21-2016 Add this to your location block: try_files $uri $uri/ /index.php?$query_string; |