php - When setting up a virtual host, do I also need to set up the sites in homestead?
给我你的怀抱
给我你的怀抱 2017-06-10 09:47:48
0
2
636

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?

给我你的怀抱
给我你的怀抱

reply all (2)
给我你的怀抱

Sorry, this is the wrong question. . . I will go on the computer and delete him later. . .

    代言

    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.

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!