0

Trying to install and configure Sulu CMS.

I am using Homestead and have configured the vhosts to welcome a new site and have run vagrant provision:

sites:
- map: sulu.cms
  to: /home/vagrant/Code/sulu_cms/public

I have pulled sulu-standard from the GIT repo, checkedout, ran composer install and followed the instructions given here to the dot. I am also using the Nginx configuration shown here and the default Webspace provided by the installation.

However, when trying to access the host after I am getting a 502 Bad Gateway error. Could anyone enlighten me on the issue?

I am running Homestead on Windows 10, I have a couple of other Laravel-based projects running in the same Homestead box without any issues.

4

1 回答 1

0

您还在Github上为此创建了一个问题,并在那里发布了答案。您在那里提到 vagrant 映射不正确,因为它显示到一个不存在public的目录而不是web目录。

所以正确的 vagrant 映射应该是这样的:

sites:
- map: sulu.cms
  to: /home/vagrant/Code/sulu_cms/web

如果您也可以将此标记为已接受的答案,或者自己创建一个更详细的答案,那就太好了。

于 2016-04-20T09:15:24.297 回答