SSL not working

I have attempted two tutorial to get nextcloud installed.

In both cases I have not been able to SSL to work, but in the tutorials their SSL turned on for them. How can I debug this problem?

Without any info about your setup or any description of the problem beyond it’s not working, it’s impossible to say what might be wrong.

I figured it out from this tutorial. I had to open the ports 80 and 443, sudo ufw allow 80,443/tcp