Laravel/Homestead up未打开应用程序,出现502 nginx/1.9.7错误

Laravel/Homestead up未打开应用程序,出现502 nginx/1.9.7错误,nginx,homestead,laravel-5.2,Nginx,Homestead,Laravel 5.2,求求你,救命! 我更新了《流浪者与家园》后,家园没有带来页面。我曾尝试重新安装vagrant、vm、homestead,但同一个带有502坏网关和nginx错误的空页面仍在继续出现。这是“homestead up”命令的代码: pavelkrotov$ homestead up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'laravel/homest

求求你,救命! 我更新了《流浪者与家园》后,家园没有带来页面。我曾尝试重新安装vagrant、vm、homestead,但同一个带有502坏网关和nginx错误的空页面仍在继续出现。这是“homestead up”命令的代码:

pavelkrotov$ homestead up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'laravel/homestead'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'laravel/homestead' is up to date...
==> default: Setting the name of the VM: homestead
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 80 (guest) => 8000 (host) (adapter 1)
    default: 443 (guest) => 44300 (host) (adapter 1)
    default: 3306 (guest) => 33060 (host) (adapter 1)
    default: 5432 (guest) => 54320 (host) (adapter 1)
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
    default: /vagrant => /Users/pavelkrotov/.composer/vendor/laravel/homestead
    default: /home/vagrant/Sites => /Users/pavelkrotov/Sites
==> default: Running provisioner: file...
==> default: Running provisioner: shell...
    default: Running: inline script
==> default: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCepZ6J7i8UruJj/Qvw7j7GFYgLYajrE4GqSUO1tK4o3KFZh1pttt8lHKMqSfR1Ltw4/qA0ZtX2iqTh8INe1zaI8kFooxC0vURyEdzu1OLRvast6AGFXIsY6QXI8/5ayWoRBVPfeaphoO/QlbwaN9hjG/V0ux0dC9gk4vsKKQsxcN+MkEMDLUICYb4X+3AN8G3ROvc6iGae+CDvrwUhbAQy04CLJSmEFYk8Dp4HCEjynuzSynXeQKL2yyAx9aBmjMualREkITxkJ5c9m4TGqEBU3r9yQcxWOJ5m4tEvvjhmW4uSzglxNapD1rt4BqZuuLkM/33A2nRvPixbJHh5VtRp you@homestead
==> default: Running provisioner: shell...
    default: Running: inline script
==> default: Running provisioner: shell...
    default: Running: /var/folders/0w/tk3pjfvx4jn5bnx1kjdv2hxw0000gn/T/vagrant-shell20160104-29643-12jcfdq.sh
==> default: Running provisioner: shell...
    default: Running: /var/folders/0w/tk3pjfvx4jn5bnx1kjdv2hxw0000gn/T/vagrant-shell20160104-29643-5yn8ap.sh
==> default: nginx stop/waiting
==> default: nginx start/running, process 1831
==> default: php5-fpm: unrecognized service
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

发生了什么事?如何解决这个问题?感谢

…没有意识到homestead 3.0与版本2有不同的规则,homestead init不再有效。我阅读了关于Laravel 5的文档,它很有帮助……我没有意识到homestead 3.0与版本2有不同的规则,homestead init不再有效。我阅读了有关Laravel 5的文档,它很有帮助。