< /p>
< /p>
< br>If you fill in nothing, you can return to view('welcome')
The other two routes point to the root directory of the entire laravel file or the root of my nigix conf
< /p>
Windows environment, please crack
It is right to use php serve
< /p>
< /p>
You must use nginx domain name proxy
< /p>
Change root to public, the routing point is extremely slow, /public/foo directly returns foo
But /user keeps loading, there must be something wrong
The reason for the huge slowness has been found.
Change localhost to 127.0.0.1. I found that there is a big difference in the connection speed between the two in the Windows environment. Maybe my hosts have been corrupted
The root of the nginx server must point to public
The domain name of the proxy can be useful. There is no need to get localhost or 127.0.0.1 to write. There are still many differences between local and access domain name development
The root of apache is the same