Nginx configured virtual host to appear File not found.

I installed lnmp, under linux. I created a new ci project (ci framework). The directory is / usr/local/nginx/html/ci, as shown in the following figure:

;http://localhost/ci/

hosts127.0.0.1 www.test.com
nginx.confserver_name www.test.com


nginx.conf:


Nginx http://www.test.com/

what went wrong?

Feb.27,2021

found the problem. The root under location ~ .php ${should also be changed to / usr/local/nginx/html/ci/

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bdce82-31351.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bdce82-31351.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?