Allow customer to specify subfolder as docroot

This has been asked several times before and still is only partly answered since.

The option to change the docroot to a clean subfolder is necessary for a lot of applications to run properly (Zend Framework as mentioned here or Bedrock to name some examples). Additionally this makes deployments a lot easier in some cases as you can clone your repo into a subdirectory and deploy by pulling the master branch.

Why am i opening a new issue?

I want to emphasize that this feature is very important and a lot of users have been waiting for this for a long time. Especially when looking at the forums over at howtoforge.com you can see that this question has been asked again and again and again but still there is no good solution for this. I know that with Apache you can have multiple docroot definitions and this way you can use a subfolder as docroot, when configured manually but with nginx it's a different story.

I think it's apparent that we need a nice and convenient solution for this.

I suggest something like this:Screen_Shot_2016-08-05_at_15.23.58