I just reinstalled Nextcloud from the TrueNAS catalog. I am using Cloudflare Tunnel as my reverse proxy. It should be configured so that when I go to nextcloud.mydomain.com it takes me straight to my Nextcloud instance. However, when I go to nextcloud.mydomain.com it redirects me to Nextcloud using my local IP which isn't helpful when I am trying to remotely connect to Nextcloud. I have attached photos of my Nextcloud config.php and my app settings that may help provide any possible solutions.
It seems like Nginx is installed could there be some settings there that could be interfering?
It seems like Nginx is installed could there be some settings there that could be interfering?