2015-12-26 77 views
2

因此,當我嘗試在我的Homestead環境中加載我的網站時,出現502 Bad Gateway。Laravel Homestead nginx問題

每當我打開我的漂泊不定框,我得到以下錯誤:

nginx stop/waiting 
==> default: nginx start/running, process 1858 
==> default: php5-fpm: unrecognized service 

我發現我需要編輯我etc/nginx/nginx.conf文件。但是我的/etc目錄中沒有看到nginix文件夾。

注:我通過拉git clone https://github.com/laravel/homestead.git Homestead來安裝此環境。看起來我沒有安裝nginx,但它應該與我抓住的Homestead軟件包一起使用。

http://screencast.com/t/Wmuydv2zw6

任何想法?

回答

0

嘗試刪除此文件夾中的al box .vagrant.d \ boxes,它位於您的主目錄中。然後下載該框並再次克隆homestead目錄。