macUnder homestead , can be configured with multiple local domain names, and now updated, there has been a problem, can not be resolved, it seems to be nginx problem, but do not know how to debug.
Documents are: SCRIPTS/SERVE.SH scripts are dynamically added in the Homestead directory
命名: serve domain.app /home/vagrant/Code/path/to/public/directory
The problem lies
I've been doing this before. Dynamically set the domain name, truncate another Windows computer and
After the update on the Mac, there is no way to set the dynamic, typing this password, a flash over
Observing the possible problems of conjecture:
Vagrant up when some of the files are not installed?
Serve after the nginx is not restarted?
But after I serve, I manually typed the command to restart, or there is no way to implement multi-domain
Novice, not too familiar with this piece, trouble everyone to point, because there are a lot of things to learn, a moment to fill, a moment php to learn laravel , but also to use the phpmyadmin database, so the need to multi-domain ~ Thank you!
Reply content:
macUnder homestead , can be configured with multiple local domain names, and now updated, there has been a problem, can not be resolved, it seems to be nginx problem, but do not know how to debug.
Documents are: SCRIPTS/SERVE.SH scripts are dynamically added in the Homestead directory
命名: serve domain.app /home/vagrant/Code/path/to/public/directory
The problem lies
I've been doing this before. Dynamically set the domain name, truncate another Windows computer and
After the update on the Mac, there is no way to set the dynamic, typing this password, a flash over
Observing the possible problems of conjecture:
Vagrant up when some of the files are not installed?
Serve after the nginx is not restarted?
But after I serve, I manually typed the command to restart, or there is no way to implement multi-domain
Novice, not too familiar with this piece, trouble everyone to point, because there are a lot of things to learn, a moment to fill, a moment php to learn laravel , but also to use the phpmyadmin database, so the need to multi-domain ~ Thank you!
A temporary solution
The git clone files in the back Homestead folder are scripts/serve-laravel.sh added below service nginx restart and
service php7.0-fpm restart
Questions?
homesteadon the github see one commit:tweak a few things when creating sites , changed the scripts folder inside a little thing, but do not quite understand why to remove the restart Nginx and PHP options? And after the removal, can not serve success, I also sent an e-mail to the author, but do not know will not return ...
See link: Github:homestead