AIO: Reverse proxy & Firewall (Nextcloud office issues)

I’m using Nextcloud AIO.

I have a reverse proxy configured in front of the server via Nginx. This proxy goes to another server, which relays the traffic.

When the firewall on the Nextcloud AIO is disabled, everything works as expected.

When I enable the firewall and kill all traffic (in and out) except to the external server/proxy, Nextcloud works for people but Nextcloud office stops responding and documents fail to load.

Is there a way to configure the Nginx reverse proxy so Nextcloud office works with this setup?

Basically, I do not want the backend communicating with people at all and want all traffic going over the proxy server.

Are you clients perhaps not communicating with Collabora via your reverse proxy?

You can see what is used in Nextcloud by going to Admin settings->Office.

AIO’s provided reverse proxy has handling for connecting clients via itself, but it sounds like you’re using your own RP.

You may need to setup Office via your RP.

See:

I’m using the reverse proxy config provided by AIO