Changing the "trusted_domains" setting

Since I am using nextcloudpi docker, where can i find the file named “config.php” for changing the “trusted_domains” setting?

docker exec -ti container_name sh

then use vi to edit the file (in /var/www somewhere)

1 Like

thank you very much, I found it!

/var/www/nextcloud/config

however neither vi nor nano are available

I don’t know why, however, you can install them. The container should be debian based.