I am running Ubuntu 16.04.4 x64 on DigitalOcean. I’ve successfully setup nextcloud and added my domain ‘example.com’ to my droplet. However, I also want to add ‘www.example.com’ to my trusted domain list. Whenever I try to follow the standard procedure, it seems that I can only choose one of them: either the one without ‘www’ or the one with. Is there a way I can add both of them as trusted domains and get the Let’s Encrypt certificate for both?
You are as confused as I was. “trusted_domains” isn’t about domains at all, not in the sense of how you access the nextcloud instance. A better term would be “trusted_name” since what’s looked for is the name of the server instance: cloud.wossname.com or whathaveyou. The point is to defeat header malfeasance so the name of the instance is what’s needed. I expected it to be about the domain that could access it but it doesn’t take domains, not as .wossname.com or as 192.168.0..