September 27, 20223 yr I hope you guys can help, So I have Nextcloud running on port 444. I have port forwarding on my router to 444, I have tailscale running in a docker on unraid. The problem is when i access my unraid internally 192.168.1.56:444 everything works fine. I can log in see things all good. When I acticate Tailscale and copy the address witha :444 I get 400 Bad request. Anyone know what I am doing wrong? Accessing things extermanlly with tailscale works fine for everything else ...Searching, Airsonic, etc..... so I know taiscale works. Is there something wrong with my nextcloud setup? Here is a snap of my setup for nextcloud. Any help is greatly apreciated. Thanks Drezin
April 28, 20233 yr Hey Drezin, you ever figure this out? I am trying to get it working now but get untrusted domain error?
April 28, 20233 yr You need to set the Tailscale IP/name as a trusted domain in the Nextcloud config: https://help.nextcloud.com/t/howto-add-a-new-trusted-domain/26
October 28, 20232 yr Hi, I am trying to figure out the how to access Nextcloud via Tailscale externally as the original post by Drezin. Can someone help how to get it working?
March 23, 20251 yr Old post, but since I was having the same problem I'll post what solved the issue for me. You have to add the tailscale IP to the trusted_domains section in the config.php, as can be seeing in many places. This file is in the appdata folder of the nextcloud, in my case in here: /mnt/user/appdata/nextcloud-ffmpeg/config/config.php What no one says is that if you add like this (not real IPs...): 'trusted_domains' => array ( 0 => '192.168.0.10:8084', 1 => '100.100.48.99:80', ), It's NOT going to work, I have no idea why! On the other hand, if you add like this: 'trusted_domains' => array ( 0 => '192.168.0.10:8084', 1 => '100.100.48.99', ), It works just fine. Note that the only difference is that on the tailscale IP I removed the port.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.