I got error on my application when starting up the homestead, to fix this, I need to vagrant ssh and run a linux command. This method works with me
Edit your VagrantFile, replace the command in `inline`
go to the bottom line of the file and copy paste the command
Vagrant.configure("2") do |config|
config.vm.provision "shell", run: "always", inline: "service nginx restart"
end