【发布时间】:2017-12-30 15:17:14
【问题描述】:
我在 Homestead 盒子中使用 Laravel。起初它没有任何问题,但最近我遇到了这个问题。 Box 运行良好,但是当我尝试使用 Google Chrome 访问我的网站 (budget.app:8000) 时,它会给出 ERR_SSL_PROTOCOL_ERROR,但它在 Firefox 上运行良好。
我遵循了所有these 步骤,但没有工作。
Homestead.yaml 文件
folders:
- map: ~/dev/web/php/laravel
to: /home/vagrant/sites
- map: ~/dev/web/php/other
to: /home/vagrant/other
sites:
- map: test.app
to: /home/vagrant/sites/test/public/
- map: budget.app
to: /home/vagrant/sites/budgetsystem-laravel/public
/etc/hosts 文件
127.0.0.1 localhost
127.0.0.1 test.app
127.0.0.1 budget.app
我尝试在同一个局域网中使用 2 台计算机(Win 和 Ubuntu)浏览此站点,在两台计算机上我得到了相同的结果(Chrome - ERR_SSL_PROTOCOL_ERROR,Firefox - 有效)。
我应该怎么做才能解决这个问题?
【问题讨论】: