Bedrock with nginx and multiple wordpress subfolder mode

Hi !

Currently I have several developers working on a remote environment that allows multiple wordpress sites :

The paths are like this:


Let’s focus on the nginx configuration of the domain/vhost
The nginx root folder is /home/user1/www and I have this rule that dynamically manages wordpress in subfolder mode:

Location / {
        location ~ (\/[^\/]*) {
                try_files $uri $uri/ /$1/index.php?q=$uri&$args;

Now I want to use Bedrock, but I can’t get my ecosystem to work, e.g. :

What nginx and bedrock configuration should I have to make all this work?
(initially the management of dynamic sub-folders is not important)
Thanks a lot !