yes, we use the official nginx configuration as a base here:

NGINX configuration — Nextcloud latest Administration Manual latest documentation