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? – Danny Nimmo Jun 28 '17 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. – Stuart Hoff Jun 28 '17 at 14:05
  • What is your configuration? – brentwpeterson Jul 14 '17 at 19:11

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 '19 at 9:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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