Paperless ngx Integration in Nextcloud

Where can I find the Nextcloud Config.php file? I should insert the following line there:
‘allow_local_remote_server’ => true,

It is here:

/var/snap/nextcloud/current/nextcloud/config/config.php

I have just pushed it also to the default install.