400 Bad Request Nextcloud through Sub Domain via Cloudflared docker Tunnel

Hello Folks,

i have installed nextcloud with mariadb and port mapped 443 to host 8082 and able to access nextcloud locally

i have cloudflared tunnel docker instance which i use with subdomains for other containers

when i try to use the tunnel for the nextcloud local instance it shows the below
I have added the trusted proxy and also appended the overwrite protocol / overwite cli etc

image

little help please

It’s telling you the error there. You’re trying to connect to it using http. Your proxy needs to use https to connect to the container.