You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Setup multiple domains using multiple virtual hosts is not correct
Description:
-- In multiple virtual hosts, using Nginx "map" directive will not work correctly due to "map" directive only run once for the same variable.
Since variables are evaluated only when they are used, the mere declaration even of a large number of “map” variables does not add any extra costs to request processing.
Instead of using map directive, we will set variable directly, map directive does not necessary due to we create Nginx file for each domain.
set $MAGE_RUN_TYPE store;
set $MAGE_RUN_CODE fr;