Home  >  Article  >  PHP Framework  >  What happens when the laravel welcome page is not displayed when logging into the website?

What happens when the laravel welcome page is not displayed when logging into the website?

藏色散人
藏色散人forward
2021-11-25 14:26:452255browse

The following tutorial column of Laravel will introduce to you the problem that the laravel welcome page is not displayed when logging into the website. I hope it will be helpful to everyone!

Problem description:

Can anyone help me figure out what’s wrong with my homestead?

I read a lot of configuration guides on the Internet, but the login website did not display the laravel welcome page.

What happens when the laravel welcome page is not displayed when logging into the website?

This is the configuration information of my Homestead.yaml

What happens when the laravel welcome page is not displayed when logging into the website?

This is my installation of laravel on the virtual machine Location:

What happens when the laravel welcome page is not displayed when logging into the website?

#But nginx seems not to parse laravel, please give me some advice!

Solution:

The vagrant provison command is not run for the configuration to take effect.

Or enter the virtual machine to view the nginx.conf file. There are two include files in it. One of the folders is empty. The remaining file contains root followed by a directory. Change this directory. into the entry directory of the website.

Related recommendations: The latest five Laravel video tutorials

The above is the detailed content of What happens when the laravel welcome page is not displayed when logging into the website?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete