I don’t know how you system was running before but likely there is some issue with a config. it’s unlikely you have valid certificate for localhost
so https://localhost/..
must be wrong address - it should be either http://localhost
or https://cloud.mydomain.tld/..
Did you check this thread already?