Let me guess. You developed a Laravel app and deployed it on the Server. When you hit the app’s URL, boom, you can only see a blank white screen and nothing else. Frustrating isn’t it?
Trust me. It is frustrating and I’ve been there. In this post, let me share what did I do to resolve it.
Laravel Server Configuration
Also, my NGINX version is
The configuration recommended by Laravel.com is missing the
include fastcgi.conf; line. The line is self-explanatory. To include that configuration in the NGINX, in the version that I’m using, all I had to was to include
fastcgi-php.conf, which contains the
include fastcgi.conf statement. You can find both
snippets/fastcgi-php.conf configuration files under
Once you have added the above line, you can then check the configuration and restart NGINX.