Discourse generated a certificate only for the www address. If you agree the apex domain via http you get redirected as you expect, but if you access it with https, you get an error.
There are some topics about how to generate a cert for both domains. You might see forcewww.com. That’s easier.
Thanks for your reply. I assume you are referring to this topic?
The issue I had with following this was I don’t appear to have a /etc/nginx directory on my Digital Ocean instance. Do I need to install Nginx manually?
Alternatively, if I were to reinstall Discourse on the naked domain (without the www), would that solve this problem or would I just face the same issue if users were to access it via https://www. ?
Apologies if I’m asking obvious/beginner questions, this area of computing isn’t what I’m familiar with.