Adding additional websites
One of Homestead's benefits is that you can host more than one application on it.
This means you can run as many Laravel applications on it as you want (subject
to constraints such as disk space). The process for each site is to map the directory
between your host machine and the virtual machine, and to configure nginx to look
in this directory when a specific domain name is requested. To do this by hand
would mean editing various configuration files, which would become tedious if we
needed to do this on a regular basis. Thankfully, Homestead comes with a handy
script to make adding new sites a breeze.
Chapter 2
Do'stlaringiz bilan baham: |