Self hosted instance and Cloudflare tunnels

I created a self hosted instance running on docker, I initialised it the Docker Compose way so modifications are easier to do.

I would like to host it to the internet using Cloudflared tunnels. I have managed to get other services running though it but not the cloudflare UI.

Are there any guides on how to configure the frontend to pass through the tunnel?

Posted Jan 27, 2024, 4:24 PM UTC

20
WenYuGe•

Is the configured domain in both environment variables and project settings consistent?

Are they the same as the domain used for Cloudflare?

Which ports are you passing through Cloudflare?

What is the error you're seeing?

1
pacebrianOP•

thank you for replying. The issue ended up being Cloudflare's SSL needing Total TLS beyond the first subdomain (the fix was simply sub1-sub2.domain.com instead of sub1.sub2.domain.com)

2
WenYuGe•

Glad you figured it out! This will be valuable for others :D in future

2