Export to pdf - The domain in the file url does not match the domain of the Document server

I use nextcloud with collabora. There’s a reverse proxy in front of nextcloud.

Everything else seems to work except when I try to export to PDF I get:

The domain in the file url does not match the domain of the Document server

Any ideas what to look for? Can’t seem to find anything obvious in F12 and/or container logs of my nextcloud/collabora installation.

I’ll be more than happy to provide more of the configuration as longs as someone points me towards the right direction :slight_smile:

I see that line 813 is responsible for this