Web浏览器中的Laravel 5.4错误未显示404错误显示

I've really fed up with this problem, for the past 4 hours i worked on it ,but didn't get proper solution.

Server

php-fpm-nginx (Laravel 5.4).

Problem:Error messages are not shown in web browser

Solutions i've tried

1.Enabled error reporting in php.ini (its works fine testted with a sample php file).

2.777 permissions for storage and bootstrap folder.

  1. set APP_DEBUG=true in .env

I can able to see error messages in storage/logs folder but it didn't displayed in browser

In your nginx config, Are you sure that root is point to you public folder? Something like this:

server {
    listen       80;
    ....
    root       /path/laravel/public;
    ......
}