I think he don’t want to open a standard port, because it will be scanned more than others.
Don’t have nextcloud installed, but I think you can change it at the vhost and apache.conf. Apache.conf is a template, you have to create a custom template for it.