Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions setup/homestead.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,11 @@ configuration:
sites:
- map: symfony-demo.dev
to: /home/vagrant/projects/symfony_demo/web
type: symfony
type: symfony4

The ``type`` option tells Homestead to use the Symfony nginx configuration.
The ``type`` option tells Homestead to use the Symfony nginx configuration.
Homestead now supports a Symfony2 web layout with app.php and app_dev.php when
using type: symfony2 and an index.php layout when using type: symfony4.
Copy link
Member

@xabbuh xabbuh Jun 22, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens when the symfony layout (with neither 2 nor 4) is used as it was before?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When symfony is used it defaults to serve_symfony2.sh configuration (this hasn't changed). I added the symfony2 for clarity when discussing the new symfony4 type.


At last, edit the hosts file on your local machine to map ``symfony-demo.dev``
to ``192.168.10.10`` (which is the IP used by Homestead)::
Expand Down