Stack:
- Ubuntu 16.04
- Laravel 5.3.29
- Vagrant 1.9.1
- Homestead
I'm running: vagrant up
from ~/Homestead/
This is my yaml from ~/.homestead/:
---
ip: "192.168.10.10"
memory: 2048
cpus: 1
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: ~/Code
to: /home/vagrant/code
sites:
- map: homestead.app
to: /home/vagrant/code/blog/public/
databases:
- homestead
variables:
- key: APP_ENV
value: local
I've also edited /etc/hosts: 192.168.10.10 homestead.app
In my local folder "~/Code/blog/public" and in vagrant ssh "home/vagrant/code/blog/public" - exists. When I go to http://homestead.app - it shows me this error: No input file specified.
Any help would be appreciated.
/home/vagrant/code/blog/public
. and the error means nginx document root is not correct for homestead.app. – Muhammad Sumon Molla SelimHomestead.yaml
or are you trying to update an already once configuredHomestead.yaml
file. If you're trying the latter one you need to doVagrant reload --provision
. – Gayan