Ok I said to you that you don’t need to configure nginx with built in app. You can follow this instruction : How to install Collabora Online in Nextcloud Hub
BUT If you install collabora with code server (docker or not), you don’t need built in app and you need to configure nginx with the following instructions https://www.collaboraoffice.com/code/nginx-reverse-proxy/