I cannot find where to enter the environment variables for multiple websites/stores using Engintron - the Magento documentation for nginx shows virtual host config files setting MAGE_RUN_CODE, but this does not seem to work. Does anybody know where these can be set?

  • Did you check these instructions from the DevDocs? Jun 28, 2017 at 4:59
  • Yes, that's what I meant in my question - I have tried that and it doesn't work. Either I'm doing it wrong or Engintron has a different way of configuring virtual hosts or setting environment variables. Jun 28, 2017 at 14:05
  • What is your configuration? Jul 14, 2017 at 19:11

1 Answer 1


Engintron uses cPanel virtual hosts, so I followed the Apache multiple website documentation here and Engintron did the rest.

  • but can not use nginx.conf.sample?
    – niceonelee
    Feb 3, 2019 at 9:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.