Change document root in nginx for external drive
I have a scenario in which I use Windows and Ubuntu on the same machine, and I want my sites to be shared across the OS. I have created a directory called 'common-sites' on my D drive, and I have configured the Drupal site with the domain drupal-demo-8.com.
My Ubuntu has an nginx web server. I want my common-sites to be available for Ubuntu as well.
Approach