It seems to installing Nextcloud using quadlets is becoming quite fashionable. Some months ago I followed a guide from https://codeberg.org/mjack/nextcloud-quadlets, not I found another one at https://github.com/LorbusChris/nextcloud-quadlet.
I’m going to install it into my home server which is behind a NAT. I suspect I shall have to adapt them a little when generating the HTTPS certificate.