Hi !
Currently I have several developers working on a remote environment that allows multiple wordpress sites :
user1.domain.com/wordpress1
user1.domain.com/wordpress2
user1.domain.com/wordpress3
user2.domain.com/wordpress4
user2.domain.com/wordpress5
etc…
The paths are like this:
/home/user1/www/wordpress1
/home/user1/www/wordpress2
/home/user1/www/wordpress3
/home/user2/www/wordpress4
/home/user2/www/wordpress5
etc…
Let’s focus on the nginx configuration of the domain/vhost user1.domain.com
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. :
user1.domain.com/bedrock1
user1.domain.com/bedrock2
etc…
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 !