Collabora office fails in one Nextcloud instance but works on another

sounds like your NC is not aware of it’s proper address. likely it generates http:// URLs and you rewrite them with https redirection on the reverse proxy. Please review 101: reverse proxy