I’ve just updated to the latest trellis using a new DO droplet.
Everything is working perfectly except for my www redirect specified in my wordpress_sites.yml
The domain1.com.conf looks correct. I presume it looks correct to you too, so I guess we’re both surprised by the redirect from www.domain1.com to sub.domain2.com. The second server block should match the the www.domain1.com request and return 301 to domain1.com.
Were there any failures during initial provisioning?
I’m not familiar enough with the possibilities to catalogue them, but are there any other services involved that could be responsible for the redirect (DNS settings, caching proxies, etc.)?