php - Laravel 5 newbie's route pointing error
伊谢尔伦
伊谢尔伦 2017-05-16 13:04:39
0
1
411

< /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

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(1)
曾经蜡笔没有小新

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template