From 7016f65ae30c766c0c4be8463caff309dc2ad956 Mon Sep 17 00:00:00 2001 From: cytopia Date: Sat, 2 Mar 2019 12:46:24 +0100 Subject: [PATCH] Fixes #483 Add note to use Apache 2.4 by default for Magento 2 example --- docs/examples/setup-magento2.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/examples/setup-magento2.rst b/docs/examples/setup-magento2.rst index 933c06a5..4b9f23e7 100644 --- a/docs/examples/setup-magento2.rst +++ b/docs/examples/setup-magento2.rst @@ -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 ============