We have several Bedrock-Ansible / Bedrock sites in production, all good, no issues.
However, we seem to be hitting a wall with setting up a multisite using subdomains following the guide in the wiki - GitHub - roots/trellis: WordPress LEMP stack with PHP 8.1, Composer, WP-CLI and more
We have not progressed beyond trying to get set up locally so our issues are related to development (local Vagrant setup) only. I’m sure we’ll have other issues when we reach staging / production but this thread is only about development / Vagrant setup.
After config (using the wiki guide) / Vagrant up, which goes smoothly, we log into WP and add a new site, again no issues. However, when hitting up the newly added subdomain we get a 342 error ‘no data received - ERR_EMPTY_RESPONSE’
Has anyone else experienced the same difficulties - is there something we are missing? We’ve followed the guide to the letter and the only ambiguity / point we can’t reconcile is from the Wiki docs:
ensure the following values are placed somewhere in wp-config.php (or config/application.php if you’re using Bedrock) before running the wordpress-sites role:
We presume this to mean ‘before running Vagrant up’ or provisioning a remote for the first time - is that correct?
Anyone have any pointers? Anyone got this setup successfully yet?