Skip to content

Commit 8ce9145

Browse files
author
Roman Lytvynenko
committed
Added information about the missing settings and steps when the web server is being configured to serve the Magento app from the /pub directory.
1 parent 8c9671b commit 8ce9145

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/guides/v2.3/install-gde/tutorials/change-docroot-to-pub.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ Replace `192.168.33.10` with your server's hostname.
114114
```
115115

116116
## 3. Update the env.php file
117+
117118
The following node needs to be appended to the `env.php` file.
118119

119120
```conf
@@ -122,10 +123,10 @@ The following node needs to be appended to the `env.php` file.
122123
]
123124
```
124125

125-
{:.bs-callout-info}
126126
Refer to the [env.php reference]({{ page.baseurl }}/config-guide/prod/config-reference-envphp.html) for more information.
127127

128128
## 4. Switch modes
129+
129130
[Magento modes]({{ page.baseurl }}/config-guide/bootstrap/magento-modes.html), which include `production` and `developer`, are designed to improve security and make development easier. As the names suggest, you should switch to `developer` mode when extending or customizing Magento and switch to `production` mode when running Magento in a live environment.
130131

131132
Switching between modes is an important step in verifying that your server configuration is working properly. You can switch between modes using the Magento CLI tool:

0 commit comments

Comments
 (0)