So far I’ve changed the wp config file for the environment in bedrock (site/config/environments/production.php) for wp_home, wpsiteurl and wp_content_url to have the new URL.
Right now I can see the homepage of example2.com displayed under example1.com/blog with adjusted permalinks and most assets load properly. But the login page via /wp/wp-admin is giving me a 404 and certain files in the wp/wp-includes folder are also causing 404s.
I’m pretty sure I’m missing something substantial in the nginx configuration, because the /wp location seems to be causing the issues here. Not really sure where to look next though and I’m not too familiar with the nginx location directive to figure it out at this point.
Would greatly appreciate some pointers of where to look next, or maybe someone has completed a similar setup before?