This was solved. It seems Collabora has changed some settings and I needed to edit my /etc/nginx/conf.d/nextcloud.conf
according to these instructions.
https://sdk.collaboraonline.com/docs/installation/Proxy_settings.html#reverse-proxy-with-nginx-webserver