The configuration of 127.0.0.1forum.app is also configured in the host according to the tutorial, but forum. app returns the nginx default page. If you change to 192.168.10.10forum.app, 502 is returned. What's the problem? The configuration is as follows ~ Hosts file: homestead. yaml...
Added
127.0.0.1 forum. app
The configuration is also configured according to the tutorial, but forum. app returns the default nginx page. If you change to 192.168.10.10 forum. app, 502 is returned. What's the problem? The configuration is as follows ~
Hosts file:
Homestead. yaml Configuration:
Project File Location :~ /Code/Forum
Reply content:
Added
127.0.0.1 forum. app
The configuration is also configured according to the tutorial, but forum. app returns the default nginx page. If you change to 192.168.10.10 forum. app, 502 is returned. What's the problem? The configuration is as follows ~
Hosts file:
Homestead. yaml Configuration:
Project File Location :~ /Code/Forum
Solved. Because the PHP-FPM cannot work properly. The PHP-FPM cannot work because of vagrant box version issues. Replace 4.0.1 with 0.3.0. (If you have multiple boxes, simply delete the latest ones .)
10.10 points to homestead, and 127 points to the local machine.
The actual situation is probably homestead 502. Check the log.
The same is true for me. The server where the page is displayed has no response. I only configured one site. The yaml and hosts files are correct. The hosts file contains 192.168.10.10 homestead. app. What is the problem.