Collabora Online eceived HTTP code 504 from proxy after CONNECT

I’m using Ubuntu 16.04, Next cloud 10 and newest Collabora docker

I’m installed Collabora docker with guide in https://nextcloud.com/collaboraonline/
After that i’m started Collabora with domain nextcloud (cloud.mydomain.com)

docker run -t -d -p 127.0.0.1:9980:9980 -e "domain=cloud\.mydomain\.com" --restart always --cap-add MKNOD collabora/code

And setup proxy in apache…

But when i start Collabora Onoine , i got error

Collabora Online unknown error: cURL error 56: Received HTTP code 504 from proxy after CONNECT
Please contact the “https://office.ho.fpt.vn” administrator.

Please help fix . Thanks !

are you using your cloud-instance in SSL mode too?

Additional to be correct, you are using your own domain in the domainpart of your docker command?

Yep, i’m using my domain, i have have cert for this domain (internal domain).
And i run docker with domain in command.

ok then please post your nc-webhost config and collabora-webhostconfig.

If you are using a self signed cert you need to import the CA to your local instances and in the -nextcloud-installation-/resources/config/ca-bundle.crt

The next thing is, can your cloudserver and collabora, and your client connect to the internet?
if not, you need to download and replace some jquery snippets from cloudflare and googleapis and replace the links.