Built-In CODE behind reverse proxy problems

it looks like you client thinks CODE is located at this address. Build-In CODE (which is not recommended at all) is running at specific path https://mydomain-tld/apps/richdocumentscode/proxy.php?req= - there is a Office admin setting where you choose dedicated vs built-in CODE. For details troubleshooting and other references please review Collabora integration guide