it looks like integrated CODE installation doesn’t take into account Nextcloud config.php overwrite* settings and heavily relies on proxy headers like proxy_set_header - unfortunately no solution has been documented there but definitely good progress and also good ways to troubleshoot.