Skip to content

Conversation

@okostyaev
Copy link

The current configuration only supports the case when the document root is configured to Magento root directory. Meanwhile, Magento recommends using pub directory as a document root. Please see this doc for more details.

https://experienceleague.adobe.com/en/docs/commerce-operations/installation-guide/tutorials/docroot

In case "document_root_is_pub" => true, which is the default value for new Magento installations, static requests do not include /pub prefix, and the basic auth skip condition does not work for them.

This change makes /pub prefix optional to support both configurations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant