I’m running into an issue I haven’t had yet. We just migrated a client’s site over to our trellis instance, the site has 3 subdomains and another domain mapped to it as well (using this plugin). I’d like to add ssl to the main domain, subdomains, and the mapped domain. I haven’t seen much info on how to do this, except for this post by @Simeon who seemed to have a similar question. I’ve followed the same setup he outlined, but on provisioning only the main domain gets an ssl cert by letsencrypt.
Here’s the wordpress_sites config:
example.com: site_hosts: - canonical: example.com redirects: - www.example.com - canonical: sub1.example.com - canonical: sub2.example.com - canonical: sub3.example.com - canonical: example2.com redirects: - www.example2.com local_path: ../sites/example.com repo: 'firstname.lastname@example.org:example/example.com.git' branch: production multisite: enabled: true subdomains: true ssl: enabled: true provider: letsencrypt hsts_include_subdomains: false cache: enabled: true env: domain_current_site: example.com
Our trellis version was last updated Nov 11, 2016, here’s the last commit.
Am I doing something wrong, or is this feature not available to trellis at that point in time? I know we’re pretty out of date, updating has been on my tasklist for months . I can provide more info if needed!