Magento env.php file stores Environment specific configuration and system-related sensitive data.
With the help of the ‘system’ array node, A System node locks the provided configuration values in the env.php file and disables that field in the admin panel.
Sensitive values might be API keys for the connector, Payment related Stuff, Email Addresses, URLs, and Private Contact related information.
We will set the URL value with the env.php file.
You can’t able to modify it from the Stores -> Configuration -> General -> Web -> Base URL field. Continue reading “How to set stores URL configuration by env.php file in magento 2?”