Page 1 of 1

Nginx.conf configuration for code igniter

Posted: Thu Sep 01, 2016 11:19 pm
by sephs
Hello.

I used the Codeigniter2.tpl in nginx.conf. But my website dont work... I received 404 error page or blank page. The system use Nginx+PHP5 FPM.

But the moment, I tried to use VestaCP (Apache+Nginx) worked.... ( in other machine)

Help Me..

Re: Nginx.conf configuration for code igniter

Posted: Fri Mar 10, 2017 11:45 am
by ulasoft
You can try to add this code:

Code: Select all

location / {
        try_files $uri $uri/ /index.php;# 
}
надо это добваить и всё прекрасно работает я сам только что попробовал