Nextcloud office uses always https with collabora

is used to make the system aware of reverse proxy.

if there is a reverse proxy it should use port 443 and forward the connection to specific application.

Please familiarize yourself how to run an application behind reverseproxy. shortly we published an article 101: reverse proxy explaining the basics of reverse proxy and Nextcloud configuration.