Hello, I am bumping this because I thought I fixed it yesterday, but now when accessing www.mysite.com I am getting a non SSL redirection still.
The apex has a SSL, just not www.
Even though I applied this in my app.yml in hooks:
after_ssl:
# tell letsencrypt what additional certs to get
- replace:
filename: "/etc/runit/1.d/letsencrypt"
from: /--keylength/
to: "-d mysite.com -d www.mysite.com --keylength"
- replace:
filename: "/etc/runit/1.d/letsencrypt"
from: /--fullchainpath/
to: "-d mysite.com -d www.mysite.com --fullchainpath"