Can't Connect to fresh install on SSH

According to this post you can try

$ sudo snap info nextcloud

to see status of various services

Also see these others posts with your same apache issue

Might be further hints in nextcloud.log and apache.log