Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 493 Bytes

multi_store.md

File metadata and controls

23 lines (17 loc) · 493 Bytes

Multi Store

If you have a multi-store magento, you need to add your website codes to the ngnix configuration as follows:

  1. Edit config/dockergento/nginx/conf/default.conf
# WEBSITES MAPPING
map $http_host $MAGE_RUN_CODE {

	default    base;
	## For multi-store configuration add here your domain-website codes
	dominio-es.lo    es;
	dominio-ch.lo    ch;
	dominio-de.lo    de;
}
  1. You need to restart dockergento to apply the new configuration:
dockergento restart