Use the pre_deploy.sh script

If you want to set the Magento 2 Admin URI, you can do that before the deployment of your application, using the bin/magento command in the pre_deploy.sh script.

Here is the command to be used:

bin/magento setup:config:set --backend-frontname="admin_path"
0%
0%