我目前在我的宅基地箱中有大约6个项目。他们都很好。今天,我去做了一个教程并创建了一个新项目,运行了默认迁移,在我的homestead.yaml中做了两个映射,并在我的hosts文件中添加了一个条目。无论出于何种原因,我获得了504次网关超时。任何想法尝试什么?
folders:
- map: ~/Development/Web/Name1
to: /home/vagrant/Development/Web/Name1
- map: ~/Development/Web/Name2
to: /home/vagrant/Development/Web/Name2
- map: ~/Development/Web/Name3
to: /home/vagrant/Development/Web/Name3
- map: ~/Development/Web/Name4
to: /home/vagrant/Development/Web/Name4
- map: ~/Development/Web/Name5
to: /home/vagrant/Development/Web/Name5
- map: ~/Development/Web/Name6
to: /home/vagrant/Development/Web/Name6
- map: ~/Development/Web/Name7
to: /home/vagrant/Development/Web/Name7
- map: ~/Development/Web/VuePhp
to: /home/vagrant/Development/Web/VuePhp
sites:
- map: name1.dev
to: /home/vagrant/Development/Web/Name1/public
- map: name2.dev
to: /home/vagrant/Development/Web/Name2/public
- map: name3.dev
to: /home/vagrant/Development/Web/Name3/public
- map: name4.dev
to: /home/vagrant/Development/Web/Name4/public
- map: name5.dev
to: /home/vagrant/Development/Web/Name5/public
- map: name6.dev
to: /home/vagrant/Development/Web/Name6/public
- map: name7.dev
to: /home/vagrant/Development/Web/Name7/public
- map: vuephp.dev
to: /home/vagrant/Development/Web/VuePhp/public
VuePhp是导致问题的条目
编辑:突然,它已开始将vuephp.dev:8000重定向到Name1站点。仍然不知道。
答案 0 :(得分:0)
使用vagrant reload重新配置--provision就可以了。