Fixes #483 Add note to use Apache 2.4 by default for Magento 2 example

This commit is contained in:
cytopia 2019-03-02 12:46:24 +01:00
parent 7cb9502c1e
commit 7016f65ae3
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2

View File

@ -35,6 +35,20 @@ The following configuration will be used:
* On your host operating system, projects are by default in ``./data/www/`` inside the
Devilbox git directory. This path can be changed via :ref:`env_httpd_datadir`.
Requirements
============
This example requires to use **Apache 2.4**, as Magento does a lot of ``.htaccess`` magic by default
and these files are not interpreted by **Nginx**.
If you still want to use Nginx instead, you will have to overwrite your vhost configuration to
ensure the ``.htaccess`` rules are glued into your Nginx vhost configuration.
.. seealso::
* :ref:`vhost_gen_customize_specific_virtual_host`
* https://magento.stackexchange.com/questions/121758/how-to-configure-nginx-for-magento-2#121769
Walk through
============