I am learning the laravel framework and using the homestead integrated environment installed by vagrant.
Now I am a little unclear about the role of sites-related settings in homestead.yaml. Why do I need to set it up in sites after configuring the virtual host in nginx?
给我你的怀抱2017-06-10 09:49:48
Sorry, this is the wrong question. . . I will go on the computer and delete him later. . .
代言2017-06-10 09:49:48
In fact, you can ssh into the virtual machine
serve domain.app /home/vagrant/Code/path/to/public/directory
To set up the virtual host.
Just restart nginx php-fpm.