I have read through the config here and the steps work fine, although I have to open the terminal from the Docker GUI rather than with docker exec -it devkinsta_nginx bash
So the steps i do are:
- Open terminal window on
devkinsta_nginx - Run
cd etc/nginx/sites/ - Run
nano mysite.conf - Change the root from
/www/kinsta/public/mysiteto/www/kinsta/public/mysite/webroot - Exit and save, then
nginx -s reload
Site works fine but my site root within DevKinsta still shows the old one. If I close DevKinsta or start/stop site it then reverts back to the original root.
Do i have to do these steps every time i work on a job?