Hello, I recently made a computer to use as a server, and I want some services such as nextcloud and jellyfin to be accessible over the internet. I decided the best way to do this would be by using Cloudflare tunnels so I wouldn’t have to port forward.
To do this, I purchased a domain using GoDaddy, set up a Cloudflare account, and connected the Cloudflare nameservers to my domain. After this, I went into Tunnel settings and created a tunnel to two of my services: pihole and nextcloud. These are both set up the same way with HTTPS and noTLSVerify set to true. The tunnels are listed as healthy. The only problem is, when I put in the URL for pihole into my browser, I get a 502 error and when I go to the nextcloud URL it routes me directly to the IP address. When I try to access the URL for nextcloud over data on my phone it is unable to connect. I also set up the root of my domain to point to the TrueNAS homepage using straight DNS, which works.
My server is running TrueNAS Scale as well as the TrueCharts Cloudflared Docker container.
If anyone knows why this is happening, please let me know. Any tips or recommendations are appreciated!