I have successfully installed nexcloud snap (19.0.1) and gotten it to work online.
Do to limitations of my ISP I could not use port 80 so I rerouted port 80 to 81 in my router and that allowed me to access the server by entering:
myexternalipaddress:81
however since lets-encrypt must be on port 80, my best option is to go with a self-signed signature for now.
Using the command:
sudo nextcloud.enable-https self-signed
I was able to generate a certificate, however after doing that I can only access my server through my local network and not from my public ip.
myexternalipaddress:81 Just gives me “This site can’t be reached” error.
When I run the command sudo nextcloud.disable-https
It works again.
I am guessing this has something to do with ports but I could be wrong.