Error trusted_domains tailscale

I installed nextlcoud and everything works locally, then I installed tailscale as a VPN on both the server and the phone. I manage to access the server (apache) from my phone but it tells me that I am on an untrusted domain. I entered my tainscale VPN IP in config.php but it still doesn’t work. Thank you