There are several posts on the forum about this but ultimately I went back to the documentation here: https://docs.ghost.org/api/ghost-cli/knowledgebase/#ssl-for-additional-domains
That section claims to support www redirects. However, when I got to the
ghost setup nginx ssl
section it gave me this error
Uh-oh! It looks like your domain isn't set up correctly yet. Because of this, SSL setup won't work correctly. Once you've set up your domain and pointed it at this server's IP, try running "ghost setup ssl" again.
Where do I go from here? When I look in system/files I can see that the “www.example.com” conf file was setup. But nothing for SSL.