Trusted_domains all domains

Nextcloud version (eg, 20.0.7): 20.0.7
Operating system and version (eg, Ubuntu 20.04.2): Ubuntu 20.04.2

The issue you are facing:
For experimental purposes, I’d like to allow access from anywhere. Can I add ... to the trusted_domains to get this effect for both internal and external access? I understand that this is a security risk, but the server is behind a NAT/ Firewall and I am a new user still experimenting.

You misunderstood the function of this parameter, its purpose IS NOT to set domains from which you can access Nextcloud but the domain names under which you want to access the server, e.g. “nextcloud.yourdomain.com” etc. See the adminstrator guide for further information:

https://docs.nextcloud.com/server/21/admin_manual/configuration_server/config_sample_php_parameters.html?highlight=trusted_domain#configuration-parameters

1 Like

Thanks for the quick reply and clarification.