Issue with Plesk/Nextcloud/NGinx/Collabora CODE

Hi forum,
I write you because I have a problem with my install of CODE that I cannot solve.

Context :
Server installed with Plesk Onyx 18
Nextcloud Hub 3 (25.0.0)
CODE running last version in docker in plesk with config domain nextcloud + username + password
URL :

All certificates running with let’s encrypt.
Proxy made by NGINX on code.mydomain.fr
URL browser/dist/admin/admin.html and hosting/capabilities working !
Nextcloud setup with https://code.mydomain.fr OK

NGinx directive

# static files
location ^~ /browser {
	proxy_pass https://127.0.0.1:9980;
	proxy_set_header Host $http_host;
}

# WOPI discovery URL
location ^~ /hosting/discovery {
	proxy_pass https://127.0.0.1:9980;
	proxy_set_header Host $http_host;
}

# Capabilities
location ^~ /hosting/capabilities {
	proxy_pass https://127.0.0.1:9980;
	proxy_set_header Host $http_host;
}

# main websocket
location ~ ^/cool/(.*)/ws$ {
	proxy_pass https://127.0.0.1:9980;
	proxy_set_header Upgrade $http_upgrade;
	proxy_set_header Connection "Upgrade";
	proxy_set_header Host $http_host;
	proxy_read_timeout 36000s;
}

# download, presentation and image upload
location ~ ^/(c|l)ool {
	proxy_pass https://127.0.0.1:9980;
	proxy_set_header Host $http_host;
}

# Admin Console websocket
location ^~ /cool/adminws {
	proxy_pass https://127.0.0.1:9980;
	proxy_set_header Upgrade $http_upgrade;
	proxy_set_header Connection "Upgrade";
	proxy_set_header Host $http_host;
	proxy_read_timeout 36000s;
}

Problem
When i try to open a document, I get an error (failed to load …)
With the browser console, I got a 404 error for this URL :
wss://code.mydomain.fr/cool/https%3A%2F%2Fcloud.mydomain.fr%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F6_oc20d9m67o4g%3Faccess_token%3DU86P2ztgAqbnI1UvvuM0wIMjWl3hHuJo%26access_token_ttl%3D1666677380000/ws?WOPISrc=https://cloud.mydomain.fr/index.php/apps/richdocuments/wopi/files/6_oc20d9m67o4g&compat=/ws

When I tried with the demo server, the same URL is working fine.
I don’t understand where could be the problem.
Does anyone got the same error ?

Thanks in advance
Fabien