Setting the Magento application mode

By 2nd June 2021No Comments

The my_mage_mode embedded variable controls the application mode that Magento uses.

For stores using Magento 2, this variable will be set to default by default.

To update this value, edit ___general/ (where is your chosen domain), and add

set $my_mage_mode production;

(Replacing production with the value you'd like, if necessary)

Then restart Nginx by running /etc/init.d/nginx reload.