Hi all!
I’m trying to activate https in all the domains i have in my multisite installation but is not working for me.
My group_vars/production/wordpress_sites.yml
is
wordpress_sites:
juanmaguitar.com:
site_hosts:
- juanmaguitar.com
- lasrecetasdeguada.com
...
multisite:
enabled: true
subdomains: true
ssl:
enabled: true
provider: letsencrypt
...
And the nginx configuration and let’s encript settings seems to be created properly (no errors) but the https only work for the main domain juanmaguitar.com
For the other one lasrecetasdeguada.com
that is really a mapped domain for the suddomain lasrecetasdeguada.juanmaguitar,com
doesn’t work. it seems that the certifificate is not created properly for this second domain.
The thing is that after provisioning when i access to http://juanmaguitar.com
it redirects me to https://juanmaguitar.com
with the proper certificate and everything works fine
But when i access to http://lasrecetasdeguada.com
it redirects me to https://lasrecetasdeguada.com
without a proper certificate so i get an error (insecure page or something like that). I can add an exception to the https error but then the images (amazon s3) doesn’t work properly (mixed protocols or something)
Is there anything else i should take into account?? Any ideas?
Thanks in advance!!