Hi, we use capistrano to deploy our WP application and we would like to change the webroot path, how this can be done to make the sure the WP work perfectly?
Thank you
Hi, we use capistrano to deploy our WP application and we would like to change the webroot path, how this can be done to make the sure the WP work perfectly?
Thank you
On your server you can use this command to update webroot:
ee site edit example.com
You will notice the root declared on a line similar to this:
root /var/www/example.com/htdocs;
And that is where you will make your edit. EE will automatically reload Nginx when you use it to change this file.